diff options
-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 | ||||
-rw-r--r-- | .gitconfig##h.lowe | 5 | ||||
-rw-r--r-- | .gitconfig##h.luchs | 5 | ||||
-rw-r--r-- | .gitconfig##h.maus | 5 | ||||
-rwxr-xr-x | .local/bin/app_populator | 9 | ||||
-rwxr-xr-x | .local/bin/notify_phone | 2 | ||||
-rwxr-xr-x | .local/bin/td | 2 | ||||
-rwxr-xr-x | .local/bin/toggle_notifications.sh | 16 | ||||
-rw-r--r-- | .local/share/yadm/archive | bin | 2940 -> 3313 bytes |
18 files changed, 78 insertions, 45 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 | ||
diff --git a/.gitconfig##h.lowe b/.gitconfig##h.lowe index e66c268..d0026b7 100644 --- a/.gitconfig##h.lowe +++ b/.gitconfig##h.lowe | |||
@@ -12,10 +12,13 @@ | |||
12 | ci = commit | 12 | ci = commit |
13 | st = status | 13 | st = status |
14 | br = branch | 14 | br = branch |
15 | hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short | ||
16 | type = cat-file -t | 15 | type = cat-file -t |
17 | dump = cat-file -p | 16 | dump = cat-file -p |
18 | adog = log --all --decorate --oneline --graph | 17 | adog = log --all --decorate --oneline --graph |
18 | hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short | ||
19 | sl = log --oneline --decorate -20 | ||
20 | sla = log --oneline --decorate --graph --all -20 | ||
21 | branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes | ||
19 | [credential] | 22 | [credential] |
20 | helper = cache --timeout=3600 | 23 | helper = cache --timeout=3600 |
21 | [color] | 24 | [color] |
diff --git a/.gitconfig##h.luchs b/.gitconfig##h.luchs index bd7343f..5ad9aeb 100644 --- a/.gitconfig##h.luchs +++ b/.gitconfig##h.luchs | |||
@@ -12,10 +12,13 @@ | |||
12 | ci = commit | 12 | ci = commit |
13 | st = status | 13 | st = status |
14 | br = branch | 14 | br = branch |
15 | hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short | ||
16 | type = cat-file -t | 15 | type = cat-file -t |
17 | dump = cat-file -p | 16 | dump = cat-file -p |
18 | adog = log --all --decorate --oneline --graph | 17 | adog = log --all --decorate --oneline --graph |
18 | hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short | ||
19 | sl = log --oneline --decorate -20 | ||
20 | sla = log --oneline --decorate --graph --all -20 | ||
21 | branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes | ||
19 | [credential] | 22 | [credential] |
20 | helper = cache --timeout=3600 | 23 | helper = cache --timeout=3600 |
21 | [color] | 24 | [color] |
diff --git a/.gitconfig##h.maus b/.gitconfig##h.maus index 76c9a91..265ecb6 100644 --- a/.gitconfig##h.maus +++ b/.gitconfig##h.maus | |||
@@ -12,10 +12,13 @@ | |||
12 | ci = commit | 12 | ci = commit |
13 | st = status | 13 | st = status |
14 | br = branch | 14 | br = branch |
15 | hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short | ||
16 | type = cat-file -t | 15 | type = cat-file -t |
17 | dump = cat-file -p | 16 | dump = cat-file -p |
18 | adog = log --all --decorate --oneline --graph | 17 | adog = log --all --decorate --oneline --graph |
18 | hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short | ||
19 | sl = log --oneline --decorate -20 | ||
20 | sla = log --oneline --decorate --graph --all -20 | ||
21 | branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes | ||
19 | [credential] | 22 | [credential] |
20 | helper = cache --timeout=3600 | 23 | helper = cache --timeout=3600 |
21 | [color] | 24 | [color] |
diff --git a/.local/bin/app_populator b/.local/bin/app_populator new file mode 100755 index 0000000..6182b98 --- /dev/null +++ b/.local/bin/app_populator | |||
@@ -0,0 +1,9 @@ | |||
1 | #!/usr/bin/env bash | ||
2 | # https://www.reddit.com/r/commandline/comments/q9skbh/how_to_remember_what_applications_you_have/ | ||
3 | #< Populates the applist | ||
4 | # cat ~/.local/share/applist | fzf | ||
5 | |||
6 | ls /usr/share/man/man1 2> /dev/null | | ||
7 | sed -e 's/\.1.*//' | | ||
8 | xargs whatis 2> /dev/null | | ||
9 | sed -e '/unknown subject/d' -e 's/ *- / - /' > ~/.local/share/applist | ||
diff --git a/.local/bin/notify_phone b/.local/bin/notify_phone index 6228f73..adf1464 100755 --- a/.local/bin/notify_phone +++ b/.local/bin/notify_phone | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | TOKEN=795983515:AAHAPgakm-BbRKNodF9a0z_OH2VDsIxpm_Q | 3 | TOKEN=$(pass telegram/notifier) |
4 | CHAT_ID=4903620 | 4 | CHAT_ID=4903620 |
5 | INPUT=$@ | 5 | INPUT=$@ |
6 | MESSAGE=${INPUT:-"all done"} | 6 | MESSAGE=${INPUT:-"all done"} |
diff --git a/.local/bin/td b/.local/bin/td index f15c0c6..dad71f1 100755 --- a/.local/bin/td +++ b/.local/bin/td | |||
@@ -21,6 +21,6 @@ if [[ $? -ne 0 ]]; then | |||
21 | exit 0 | 21 | exit 0 |
22 | fi | 22 | fi |
23 | 23 | ||
24 | echo REM "${task_date}" AT "${task_time}" +45 *15 MSG %\""${task_description}"%\" %c% >> "${HOME}/nextcloud/remind/050-events.rem" | 24 | echo REM "${task_date}" AT "${task_time}" +45 *15 MSG %\""${task_description}"%\" %c% >> "${HOME}/nextcloud/virtuals/remind/050-events.rem" |
25 | 25 | ||
26 | notify-send "notification set!" "${task_date} at ${task_time}" --app-name="remind" --icon="checkmark" | 26 | notify-send "notification set!" "${task_date} at ${task_time}" --app-name="remind" --icon="checkmark" |
diff --git a/.local/bin/toggle_notifications.sh b/.local/bin/toggle_notifications.sh index 9b700b5..6818728 100755 --- a/.local/bin/toggle_notifications.sh +++ b/.local/bin/toggle_notifications.sh | |||
@@ -1,14 +1,10 @@ | |||
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 | touch $TOGGLE | ||
7 | dunstify --appname="notifications" --icon="chronometer-pause" "pausing" -u low | ||
8 | sleep 3 | ||
9 | killall -SIGUSR1 dunst # pause | ||
10 | else | ||
11 | rm $TOGGLE | ||
12 | killall -SIGUSR2 dunst # resume | ||
13 | dunstify --appname="notifications" --icon="chronometer-start" "here's what happened" -u low | 4 | dunstify --appname="notifications" --icon="chronometer-start" "here's what happened" -u low |
5 | dunstctl set-paused false | ||
6 | else | ||
7 | dunstify --appname="notifications" --icon="chronometer-pause" "pausing" -u low | ||
8 | sleep 2 | ||
9 | dunstctl set-paused true | ||
14 | fi | 10 | fi |
diff --git a/.local/share/yadm/archive b/.local/share/yadm/archive index b5ea7de..b68d190 100644 --- a/.local/share/yadm/archive +++ b/.local/share/yadm/archive | |||
Binary files differ | |||