diff options
Diffstat (limited to '.config')
-rwxr-xr-x | .config/dunst/dunstrc | 22 | ||||
-rw-r--r-- | .config/i3/config##h.lowe | 13 | ||||
-rw-r--r-- | .config/i3/config##h.luchs | 13 | ||||
-rw-r--r-- | .config/i3/config##h.maus | 19 | ||||
-rw-r--r-- | .config/nvim/lua/plugin_settings.lua | 2 | ||||
-rw-r--r-- | .config/nvim/lua/plugins.lua | 2 | ||||
-rwxr-xr-x | .config/polybar/focus | 1 | ||||
-rwxr-xr-x | .config/polybar/notification_pause.sh | 4 | ||||
-rwxr-xr-x | .config/polybar/stop | 1 | ||||
-rw-r--r-- | .config/yadm/encrypt | 2 |
10 files changed, 49 insertions, 30 deletions
diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index f9e0566..d368349 100755 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc | |||
@@ -1,16 +1,19 @@ | |||
1 | [global] | 1 | [global] |
2 | monitor = 0 | 2 | monitor = 0 |
3 | follow = keyboard | 3 | follow = keyboard |
4 | geometry = "248x64-32+48" | 4 | width=300 |
5 | height=180 | ||
6 | origin=top-right | ||
7 | offset=32x48 | ||
5 | indicate_hidden = yes | 8 | indicate_hidden = yes |
6 | shrink = no | 9 | shrink = no |
7 | transparency = 00 | 10 | transparency = 00 |
8 | separator_height = 2 | 11 | separator_height = 20 |
9 | padding = 16 | 12 | padding = 16 |
10 | horizontal_padding = 16 | 13 | horizontal_padding = 16 |
11 | frame_width = 0 | 14 | frame_width = 0 |
12 | frame_color = "#79dac8" | 15 | frame_color = "#79dac8" |
13 | separator_color = frame | 16 | separator_color = "#00000000" |
14 | sort = yes | 17 | sort = yes |
15 | idle_threshold = 120 | 18 | idle_threshold = 120 |
16 | font = Iosevka Aile 9 | 19 | font = Iosevka Aile 9 |
@@ -25,24 +28,15 @@ | |||
25 | hide_duplicate_count = false | 28 | hide_duplicate_count = false |
26 | show_indicators = true | 29 | show_indicators = true |
27 | icon_position = left | 30 | icon_position = left |
28 | max_icon_size = 64x64 | ||
29 | icon_path = "/usr/share/icons/Tela-pink/16/actions:/usr/share/icons/Tela-pink/16/apps:/usr/share/icons/Tela-pink-dark/16/devices:/usr/share/icons/Tela-pink/16/emblems:/usr/share/icons/Tela-pink/16/mimetypes:/usr/share/icons/Tela-pink/16/panel:/usr/share/icons/Tela-pink-dark/16/places:/usr/share/icons/Tela-pink/16/status" | 31 | icon_path = "/usr/share/icons/Tela-pink/16/actions:/usr/share/icons/Tela-pink/16/apps:/usr/share/icons/Tela-pink-dark/16/devices:/usr/share/icons/Tela-pink/16/emblems:/usr/share/icons/Tela-pink/16/mimetypes:/usr/share/icons/Tela-pink/16/panel:/usr/share/icons/Tela-pink-dark/16/places:/usr/share/icons/Tela-pink/16/status" |
30 | sticky_history = yes | 32 | sticky_history = yes |
31 | history_length = 20 | 33 | history_length = 20 |
32 | 34 | corner_radius = 0 | |
33 | corner_radius = 15 | ||
34 | |||
35 | dmenu = /usr/bin/rofi -dmenu | 35 | dmenu = /usr/bin/rofi -dmenu |
36 | browser = /usr/bin/firefox | 36 | browser = /usr/bin/firefox |
37 | title = Dunst | 37 | title = Dunst |
38 | class = Dunst | 38 | class = Dunst |
39 | 39 | ||
40 | [shortcuts] | ||
41 | close = ctrl+space | ||
42 | close_all = ctrl+shift+space | ||
43 | history = ctrl+0 | ||
44 | context = ctrl+shift+BackSpace | ||
45 | |||
46 | [urgency_low] | 40 | [urgency_low] |
47 | background = "#9ccfd885" | 41 | background = "#9ccfd885" |
48 | foreground = "#1f1d2e" | 42 | foreground = "#1f1d2e" |
@@ -60,7 +54,7 @@ | |||
60 | 54 | ||
61 | [Spotify] | 55 | [Spotify] |
62 | appname = "Spotify" | 56 | appname = "Spotify" |
63 | format = "<b>now playing</b>\n%s\n%b" | 57 | format = "<b>now playing</b>\n🎤 %s\n🎶 %b" |
64 | set_transient = true | 58 | set_transient = true |
65 | 59 | ||
66 | [ncmpcpp] | 60 | [ncmpcpp] |
diff --git a/.config/i3/config##h.lowe b/.config/i3/config##h.lowe index 0c517ea..ca32cf3 100644 --- a/.config/i3/config##h.lowe +++ b/.config/i3/config##h.lowe | |||
@@ -40,6 +40,17 @@ gaps inner 5 | |||
40 | gaps outer 0 | 40 | gaps outer 0 |
41 | 41 | ||
42 | ## bindings | 42 | ## bindings |
43 | ### dunstctl - dunst shortcuts have been deprecated | ||
44 | # close notifications with mod+x | ||
45 | bindcode $mod+53 exec --no-startup-id dunstctl close | ||
46 | bindcode $mod+shift+53 exec --no-startup-id dunstctl close-all | ||
47 | |||
48 | # give context menu with mod+o | ||
49 | bindcode $mod+47 exec --no-startup-id dunstctl context | ||
50 | |||
51 | # show history items with mod+0 (like the old times) | ||
52 | bindcode $mod+19 exec --no-startup-id dunstctl history-pop | ||
53 | |||
43 | # done, {task,time}warrior control suite | 54 | # done, {task,time}warrior control suite |
44 | bindcode $mod+42 exec --no-startup-id ~/.local/bin/done | 55 | bindcode $mod+42 exec --no-startup-id ~/.local/bin/done |
45 | 56 | ||
@@ -147,7 +158,6 @@ bindsym $mod+6 workspace $ws6 | |||
147 | bindsym $mod+7 workspace $ws7 | 158 | bindsym $mod+7 workspace $ws7 |
148 | bindsym $mod+8 workspace $ws8 | 159 | bindsym $mod+8 workspace $ws8 |
149 | bindsym $mod+9 workspace $wssteam | 160 | bindsym $mod+9 workspace $wssteam |
150 | bindsym $mod+0 workspace $ws10 | ||
151 | bindsym $mod+m workspace $wsmusic | 161 | bindsym $mod+m workspace $wsmusic |
152 | bindcode $mod+49 workspace $wszotero | 162 | bindcode $mod+49 workspace $wszotero |
153 | bindcode $mod+60 workspace $wsdesktop | 163 | bindcode $mod+60 workspace $wsdesktop |
@@ -163,7 +173,6 @@ bindsym $mod+Shift+6 move container to workspace $ws6 | |||
163 | bindsym $mod+Shift+7 move container to workspace $ws7 | 173 | bindsym $mod+Shift+7 move container to workspace $ws7 |
164 | bindsym $mod+Shift+8 move container to workspace $ws8 | 174 | bindsym $mod+Shift+8 move container to workspace $ws8 |
165 | bindsym $mod+Shift+9 move container to workspace $wssteam | 175 | bindsym $mod+Shift+9 move container to workspace $wssteam |
166 | bindsym $mod+Shift+0 move container to workspace $ws10 | ||
167 | bindsym $mod+Shift+m move container to workspace $wsmusic | 176 | bindsym $mod+Shift+m move container to workspace $wsmusic |
168 | bindcode $mod+Shift+49 move container to workspace $wszotero | 177 | bindcode $mod+Shift+49 move container to workspace $wszotero |
169 | bindcode $mod+Shift+60 move container to workspace $wsdesktop | 178 | bindcode $mod+Shift+60 move container to workspace $wsdesktop |
diff --git a/.config/i3/config##h.luchs b/.config/i3/config##h.luchs index 319844a..081a614 100644 --- a/.config/i3/config##h.luchs +++ b/.config/i3/config##h.luchs | |||
@@ -46,6 +46,17 @@ gaps outer 2 | |||
46 | font pango:Iosevka 11 | 46 | font pango:Iosevka 11 |
47 | 47 | ||
48 | ## bindings | 48 | ## bindings |
49 | ### dunstctl - dunst shortcuts have been deprecated | ||
50 | # close notifications with mod+x | ||
51 | bindcode $mod+53 exec --no-startup-id dunstctl close | ||
52 | bindcode $mod+shift+53 exec --no-startup-id dunstctl close-all | ||
53 | |||
54 | # give context menu with mod+o | ||
55 | bindcode $mod+47 exec --no-startup-id dunstctl context | ||
56 | |||
57 | # show history items with mod+0 (like the old times) | ||
58 | bindcode $mod+19 exec --no-startup-id dunstctl history-pop | ||
59 | |||
49 | # done, {task,time}warrior control suite | 60 | # done, {task,time}warrior control suite |
50 | bindcode $mod+42 exec --no-startup-id ~/.local/bin/done | 61 | bindcode $mod+42 exec --no-startup-id ~/.local/bin/done |
51 | 62 | ||
@@ -169,7 +180,6 @@ bindsym $mod+6 workspace $ws6 | |||
169 | bindsym $mod+7 workspace $ws7 | 180 | bindsym $mod+7 workspace $ws7 |
170 | bindsym $mod+8 workspace $ws8 | 181 | bindsym $mod+8 workspace $ws8 |
171 | bindsym $mod+9 workspace $ws9 | 182 | bindsym $mod+9 workspace $ws9 |
172 | bindsym $mod+0 workspace $ws10 | ||
173 | bindcode $mod+49 workspace $wszotero | 183 | bindcode $mod+49 workspace $wszotero |
174 | bindcode $mod+60 workspace $wsdesktop | 184 | bindcode $mod+60 workspace $wsdesktop |
175 | bindcode $mod+21 workspace $wsbrowser | 185 | bindcode $mod+21 workspace $wsbrowser |
@@ -184,7 +194,6 @@ bindsym $mod+Shift+6 move container to workspace $ws6 | |||
184 | bindsym $mod+Shift+7 move container to workspace $ws7 | 194 | bindsym $mod+Shift+7 move container to workspace $ws7 |
185 | bindsym $mod+Shift+8 move container to workspace $ws8 | 195 | bindsym $mod+Shift+8 move container to workspace $ws8 |
186 | bindsym $mod+Shift+9 move container to workspace $ws9 | 196 | bindsym $mod+Shift+9 move container to workspace $ws9 |
187 | bindsym $mod+Shift+0 move container to workspace $ws10 | ||
188 | bindcode $mod+Shift+49 move container to workspace $wszotero | 197 | bindcode $mod+Shift+49 move container to workspace $wszotero |
189 | bindcode $mod+Shift+60 move container to workspace $wsdesktop | 198 | bindcode $mod+Shift+60 move container to workspace $wsdesktop |
190 | bindcode $mod+Shift+21 move container to workspace $wsbrowser | 199 | bindcode $mod+Shift+21 move container to workspace $wsbrowser |
diff --git a/.config/i3/config##h.maus b/.config/i3/config##h.maus index 29830c1..9b2c518 100644 --- a/.config/i3/config##h.maus +++ b/.config/i3/config##h.maus | |||
@@ -39,7 +39,18 @@ exec --no-startup-id ~/.fehbg | |||
39 | font pango:Iosevka 11 | 39 | font pango:Iosevka 11 |
40 | 40 | ||
41 | ## bindings | 41 | ## bindings |
42 | # done, {task,time}warrior control suite | 42 | ### dunstctl - dunst shortcuts have been deprecated |
43 | # close notifications with mod+x | ||
44 | bindcode $mod+53 exec --no-startup-id dunstctl close | ||
45 | bindcode $mod+shift+53 exec --no-startup-id dunstctl close-all | ||
46 | |||
47 | # give context menu with mod+o | ||
48 | bindcode $mod+47 exec --no-startup-id dunstctl context | ||
49 | |||
50 | # show history items with mod+0 (like the old times) | ||
51 | bindcode $mod+19 exec --no-startup-id dunstctl history-pop | ||
52 | |||
53 | # done, {task,time}warrior control suite, mod+d | ||
43 | bindcode $mod+42 exec --no-startup-id ~/.local/bin/done | 54 | bindcode $mod+42 exec --no-startup-id ~/.local/bin/done |
44 | 55 | ||
45 | # type the contents of the clipboard with mod+p | 56 | # type the contents of the clipboard with mod+p |
@@ -69,10 +80,10 @@ bindsym XF86AudioPrev exec --no-startup-id playerctl previous | |||
69 | bindsym XF86AudioNext exec --no-startup-id playerctl next | 80 | bindsym XF86AudioNext exec --no-startup-id playerctl next |
70 | bindsym XF86Tools exec --no-startup-id mpc toggle # for mpd/ncmpcpp | 81 | bindsym XF86Tools exec --no-startup-id mpc toggle # for mpd/ncmpcpp |
71 | 82 | ||
72 | # make the currently focused window a scratchpad | 83 | # make the currently focused window a scratchpad, mod+shift+- |
73 | bindcode $mod+Shift+20 move scratchpad | 84 | bindcode $mod+Shift+20 move scratchpad |
74 | 85 | ||
75 | # show the first scratchpad window | 86 | # show the first scratchpad window, mod+- |
76 | bindcode $mod+20 scratchpad show | 87 | bindcode $mod+20 scratchpad show |
77 | 88 | ||
78 | # pause notifications for a while with mod+shift+y | 89 | # pause notifications for a while with mod+shift+y |
@@ -159,7 +170,6 @@ bindsym $mod+6 workspace $ws6 | |||
159 | bindsym $mod+7 workspace $ws7 | 170 | bindsym $mod+7 workspace $ws7 |
160 | bindsym $mod+8 workspace $ws8 | 171 | bindsym $mod+8 workspace $ws8 |
161 | bindsym $mod+9 workspace $wssteam | 172 | bindsym $mod+9 workspace $wssteam |
162 | bindsym $mod+0 workspace $ws10 | ||
163 | bindsym $mod+m workspace $wsmusic | 173 | bindsym $mod+m workspace $wsmusic |
164 | bindcode $mod+49 workspace $wszotero | 174 | bindcode $mod+49 workspace $wszotero |
165 | bindcode $mod+60 workspace $wsdesktop | 175 | bindcode $mod+60 workspace $wsdesktop |
@@ -175,7 +185,6 @@ bindsym $mod+Shift+6 move container to workspace $ws6 | |||
175 | bindsym $mod+Shift+7 move container to workspace $ws7 | 185 | bindsym $mod+Shift+7 move container to workspace $ws7 |
176 | bindsym $mod+Shift+8 move container to workspace $ws8 | 186 | bindsym $mod+Shift+8 move container to workspace $ws8 |
177 | bindsym $mod+Shift+9 move container to workspace $wssteam | 187 | bindsym $mod+Shift+9 move container to workspace $wssteam |
178 | bindsym $mod+Shift+0 move container to workspace $ws10 | ||
179 | bindsym $mod+Shift+m move container to workspace $wsmusic | 188 | bindsym $mod+Shift+m move container to workspace $wsmusic |
180 | bindcode $mod+Shift+49 move container to workspace $wszotero | 189 | bindcode $mod+Shift+49 move container to workspace $wszotero |
181 | bindcode $mod+Shift+60 move container to workspace $wsdesktop | 190 | bindcode $mod+Shift+60 move container to workspace $wsdesktop |
diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua index 0ca647a..8994763 100644 --- a/.config/nvim/lua/plugin_settings.lua +++ b/.config/nvim/lua/plugin_settings.lua | |||
@@ -336,7 +336,7 @@ local on_attach = function(client, bufnr) | |||
336 | buf_set_keymap('n', '<leader>f', '<cmd>lua vim.lsp.buf.formatting()<CR>', opts) | 336 | buf_set_keymap('n', '<leader>f', '<cmd>lua vim.lsp.buf.formatting()<CR>', opts) |
337 | end | 337 | end |
338 | 338 | ||
339 | local servers = { 'rust_analyzer', 'jedi_language_server', 'texlab' } | 339 | local servers = { 'rust_analyzer', 'jedi_language_server', 'texlab', 'clangd' } |
340 | for _, lsp in ipairs(servers) do | 340 | for _, lsp in ipairs(servers) do |
341 | nvim_lsp[lsp].setup { | 341 | nvim_lsp[lsp].setup { |
342 | on_attach = on_attach, | 342 | on_attach = on_attach, |
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index d8ef949..a122768 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua | |||
@@ -124,7 +124,7 @@ return require('packer').startup(function() | |||
124 | 124 | ||
125 | -- cursorline of the $CURRENT_YEAR | 125 | -- cursorline of the $CURRENT_YEAR |
126 | use { | 126 | use { |
127 | 'shadmansaleh/lualine.nvim', | 127 | 'nvim-lualine/lualine.nvim', |
128 | requires = {'kyazdani42/nvim-web-devicons', opt = true} | 128 | requires = {'kyazdani42/nvim-web-devicons', opt = true} |
129 | } | 129 | } |
130 | -- colour theme of the $CURRENT_YEAR | 130 | -- colour theme of the $CURRENT_YEAR |
diff --git a/.config/polybar/focus b/.config/polybar/focus index 42edffb..49d46d2 100755 --- a/.config/polybar/focus +++ b/.config/polybar/focus | |||
@@ -44,4 +44,3 @@ if ($task =~ m/^(.*)?\s(\d+\w+)$/g) { | |||
44 | print "$1 | $2"; | 44 | print "$1 | $2"; |
45 | } | 45 | } |
46 | } | 46 | } |
47 | # print $task; | ||
diff --git a/.config/polybar/notification_pause.sh b/.config/polybar/notification_pause.sh index 1df1bd6..9bf6724 100755 --- a/.config/polybar/notification_pause.sh +++ b/.config/polybar/notification_pause.sh | |||
@@ -1,8 +1,6 @@ | |||
1 | #!/usr/bin/env bash | 1 | #!/usr/bin/env bash |
2 | 2 | ||
3 | TOGGLE=$HOME/.local/share/.pause_notifications | 3 | if ! $(dunstctl is-paused); then |
4 | |||
5 | if [ ! -e $TOGGLE ]; then | ||
6 | echo | 4 | echo |
7 | else | 5 | else |
8 | printf "" | 6 | printf "" |
diff --git a/.config/polybar/stop b/.config/polybar/stop index 58f8741..1efd193 100755 --- a/.config/polybar/stop +++ b/.config/polybar/stop | |||
@@ -44,4 +44,3 @@ if ($task =~ m/^(\d+)(.*)$/g) { | |||
44 | exec(qq(dunstify --appname="task" --icon="kt-pause" "stopping" "$1")); | 44 | exec(qq(dunstify --appname="task" --icon="kt-pause" "stopping" "$1")); |
45 | } | 45 | } |
46 | } | 46 | } |
47 | |||
diff --git a/.config/yadm/encrypt b/.config/yadm/encrypt index 0774b67..aaa502d 100644 --- a/.config/yadm/encrypt +++ b/.config/yadm/encrypt | |||
@@ -1,3 +1,5 @@ | |||
1 | .ssh/aur | 1 | .ssh/aur |
2 | .ssh/aur.pub | 2 | .ssh/aur.pub |
3 | .ssh/config | 3 | .ssh/config |
4 | .ssh/gitolite | ||
5 | .ssh/gitolite.pub | ||