Skip to content

Commit 587dc82

Browse files
committed
Update
1 parent 39464c3 commit 587dc82

File tree

8 files changed

+45
-55
lines changed

8 files changed

+45
-55
lines changed

home-manager/programs/rofi/default.nix

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,13 @@
77
programs.rofi = {
88
enable = pkgs.stdenv.isLinux;
99
theme = "dracula";
10-
font = "HackGenNerd 16";
1110
plugins = with pkgs; [
1211
rofi-calc
1312
rofi-power-menu
1413
];
1514

1615
extraConfig = {
17-
modi = "window,run,drun";
1816
show-icons = true;
19-
icon-theme = "Nordzy-dark";
20-
sidebar-mode = true;
21-
display-window = " Window";
22-
display-run = " Run";
23-
display-drun = " Application";
24-
display-filebrowser = " Filebrowser";
25-
disable-history= false;
2617
};
2718
};
2819
}

home-manager/programs/rofi/themes/dracula.rasi

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
drac-red: #ff5555;
1313
drac-yel: #f1fa8c;
1414

15-
font: "Jetbrains Mono 12";
15+
font: "HackGenNerd";
16+
font-size: 16px;
1617

1718
foreground: @drac-fgd;
1819
background-color: @drac-bgd;
@@ -110,9 +111,9 @@
110111
}
111112

112113
#scrollbar {
113-
width: 2px ;
114+
width: 2px;
114115
border: 0;
115-
handle-width: 8px ;
116+
handle-width: 8px;
116117
padding: 0;
117118
}
118119

@@ -154,11 +155,12 @@
154155
#textbox-prompt-colon {
155156
expand: false;
156157
str: ">";
157-
margin: 0px 0.3em 0em 0em ;
158+
margin: 0px 0.5em 0em 0em ;
158159
text-color: @drac-pur;
159160
}
160161

161162
element-text, element-icon {
162163
background-color: inherit;
163164
text-color: inherit;
164165
}
166+

home-manager/programs/sway/config.d/window-rules.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Google Chrome
22
for_window [app_id="com.google.Chrome"] move to workspace 1, floating enable
33

4+
# Firefox
5+
for_window [app_id="firefox"] move to workspace 1, floating enable
6+
47
# Terminals
58
# com.apple.Terminal is macOS specific, so it's commented out.
69
# for_window [app_id="com.apple.Terminal"] move to workspace 2

home-manager/programs/sway/emacs-ime.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ TEMP_FILE=$(mktemp)
55
# Kittyを起動し、専用の設定ファイルを適用し、タイトルを設定
66
# -c は --config の短縮形
77
kitty \
8-
-c ~/.config/kitty/emacsclient_transparent.conf \
9-
--title "Temporary Editor" \
10-
sh -c "
8+
-c ~/.config/kitty/emacsclient_transparent.conf \
9+
--title "Temporary Editor" \
10+
sh -c "
1111
emacsclient -c --eval \
1212
\"(progn
1313
(setq initial-buffer-choice nil)

home-manager/programs/swaylock/default.nix

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@
99
screenshot = true;
1010
effect-blur = "13x13";
1111
effect-vignette = "0.5:0.5";
12-
color = "6272A4";
12+
color = "282A36";
1313
font = "HackGenNerd";
1414
indicator = true;
1515
indicator-radius = 200;
1616
indicator-thickness = 20;
17-
line-color = "282A36";
17+
line-color = "44475A";
1818
ring-color = "BD93F9";
1919
inside-color = "282A36";
2020
key-hl-color = "50FA7B";
2121
separator-color = "00000000";
2222
text-color = "F8F8F2";
23-
text-caps-lock-color = "";
23+
text-caps-lock-color = "FF79C6";
2424
line-ver-color = "BD93F9";
2525
ring-ver-color = "BD93F9";
2626
inside-ver-color = "282A36";
@@ -32,8 +32,8 @@
3232
text-clear-color = "8BE9FD";
3333
ring-clear-color = "8BE9FD";
3434
line-clear-color = "8BE9FD";
35-
line-wrong-color = "282A36";
36-
bs-hl-color = "8BE9FD";
35+
line-wrong-color = "44475A";
36+
bs-hl-color = "FFB86C";
3737
grace = 2;
3838
grace-no-mouse = true;
3939
grace-no-touch = true;

home-manager/programs/waybar/colors.css

Lines changed: 0 additions & 12 deletions
This file was deleted.

home-manager/programs/waybar/default.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{ pkgs }:
22
{
33
xdg.configFile = {
4-
"waybar/colors.css".source = ./colors.css;
54
"waybar/style.css".source = ./style.css;
65
"waybar/config".source = ./config;
76
"waybar/wittr.sh".source = ./wittr.sh;
Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,53 @@
1-
@import url("./colors.css");
1+
/*
2+
* vim:ft=css
3+
*
4+
* Dracula
5+
*
6+
* @author Project Dracula
7+
* @link https://draculatheme.com/waybar
8+
*/
29

310
* {
4-
border: none;
5-
border-radius: 0;
6-
font-family: Iosevka;
7-
font-size: 11pt;
8-
min-height: 0;
11+
border: none;
12+
border-radius: 0;
13+
font-family: "HackGen";
14+
font-size: 11pt;
15+
min-height: 0;
916
}
1017

1118
window#waybar {
12-
opacity: 0.9;
13-
background: @background-darker;
14-
color: @foreground;
15-
border-bottom: 2px solid @background;
19+
background: #282a36;
20+
color: #f8f8f2;
21+
border-bottom: 2px solid #44475a;
1622
}
1723

1824
#workspaces button {
19-
padding: 0 10px;
20-
background: @background;
21-
color: @foreground;
25+
padding: 0 10px;
26+
background: #282a36;
27+
color: #f8f8f2;
2228
}
2329

2430
#workspaces button:hover {
25-
box-shadow: inherit;
26-
text-shadow: inherit;
27-
background-image: linear-gradient(0deg, @selection, @background-darker);
31+
box-shadow: inherit;
32+
text-shadow: inherit;
33+
background-image: linear-gradient(0deg, #6272a4, #282a36);
2834
}
2935

3036
#workspaces button.focused,
3137
#workspaces button.active {
32-
background-image: linear-gradient(0deg, @purple, @selection);
38+
background-image: linear-gradient(0deg, #bd93f9, #6272a4);
3339
}
3440

3541
#workspaces button.urgent {
36-
background-image: linear-gradient(0deg, @red, @background-darker);
42+
background-image: linear-gradient(0deg, #ff5555, #282a36);
3743
}
3844

3945
#taskbar button.active {
40-
background-image: linear-gradient(0deg, @selection, @background-darker);
46+
background-image: linear-gradient(0deg, #6272a4, #282a36);
4147
}
4248

4349
#clock {
44-
padding: 0 4px;
45-
background: @background;
50+
padding: 0 4px;
51+
background: #282a36;
4652
}
53+

0 commit comments

Comments
 (0)