summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.config/dunst/dunstrc22
-rw-r--r--.config/i3/config##h.lowe13
-rw-r--r--.config/i3/config##h.luchs13
-rw-r--r--.config/i3/config##h.maus19
-rw-r--r--.config/nvim/lua/plugin_settings.lua2
-rw-r--r--.config/nvim/lua/plugins.lua2
-rwxr-xr-x.config/polybar/focus1
-rwxr-xr-x.config/polybar/notification_pause.sh4
-rwxr-xr-x.config/polybar/stop1
-rw-r--r--.config/yadm/encrypt2
-rw-r--r--.gitconfig##h.lowe5
-rw-r--r--.gitconfig##h.luchs5
-rw-r--r--.gitconfig##h.maus5
-rwxr-xr-x.local/bin/app_populator9
-rwxr-xr-x.local/bin/notify_phone2
-rwxr-xr-x.local/bin/td2
-rwxr-xr-x.local/bin/toggle_notifications.sh16
-rw-r--r--.local/share/yadm/archivebin2940 -> 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
40gaps outer 0 40gaps outer 0
41 41
42## bindings 42## bindings
43### dunstctl - dunst shortcuts have been deprecated
44# close notifications with mod+x
45bindcode $mod+53 exec --no-startup-id dunstctl close
46bindcode $mod+shift+53 exec --no-startup-id dunstctl close-all
47
48# give context menu with mod+o
49bindcode $mod+47 exec --no-startup-id dunstctl context
50
51# show history items with mod+0 (like the old times)
52bindcode $mod+19 exec --no-startup-id dunstctl history-pop
53
43# done, {task,time}warrior control suite 54# done, {task,time}warrior control suite
44bindcode $mod+42 exec --no-startup-id ~/.local/bin/done 55bindcode $mod+42 exec --no-startup-id ~/.local/bin/done
45 56
@@ -147,7 +158,6 @@ bindsym $mod+6 workspace $ws6
147bindsym $mod+7 workspace $ws7 158bindsym $mod+7 workspace $ws7
148bindsym $mod+8 workspace $ws8 159bindsym $mod+8 workspace $ws8
149bindsym $mod+9 workspace $wssteam 160bindsym $mod+9 workspace $wssteam
150bindsym $mod+0 workspace $ws10
151bindsym $mod+m workspace $wsmusic 161bindsym $mod+m workspace $wsmusic
152bindcode $mod+49 workspace $wszotero 162bindcode $mod+49 workspace $wszotero
153bindcode $mod+60 workspace $wsdesktop 163bindcode $mod+60 workspace $wsdesktop
@@ -163,7 +173,6 @@ bindsym $mod+Shift+6 move container to workspace $ws6
163bindsym $mod+Shift+7 move container to workspace $ws7 173bindsym $mod+Shift+7 move container to workspace $ws7
164bindsym $mod+Shift+8 move container to workspace $ws8 174bindsym $mod+Shift+8 move container to workspace $ws8
165bindsym $mod+Shift+9 move container to workspace $wssteam 175bindsym $mod+Shift+9 move container to workspace $wssteam
166bindsym $mod+Shift+0 move container to workspace $ws10
167bindsym $mod+Shift+m move container to workspace $wsmusic 176bindsym $mod+Shift+m move container to workspace $wsmusic
168bindcode $mod+Shift+49 move container to workspace $wszotero 177bindcode $mod+Shift+49 move container to workspace $wszotero
169bindcode $mod+Shift+60 move container to workspace $wsdesktop 178bindcode $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
46font pango:Iosevka 11 46font pango:Iosevka 11
47 47
48## bindings 48## bindings
49### dunstctl - dunst shortcuts have been deprecated
50# close notifications with mod+x
51bindcode $mod+53 exec --no-startup-id dunstctl close
52bindcode $mod+shift+53 exec --no-startup-id dunstctl close-all
53
54# give context menu with mod+o
55bindcode $mod+47 exec --no-startup-id dunstctl context
56
57# show history items with mod+0 (like the old times)
58bindcode $mod+19 exec --no-startup-id dunstctl history-pop
59
49# done, {task,time}warrior control suite 60# done, {task,time}warrior control suite
50bindcode $mod+42 exec --no-startup-id ~/.local/bin/done 61bindcode $mod+42 exec --no-startup-id ~/.local/bin/done
51 62
@@ -169,7 +180,6 @@ bindsym $mod+6 workspace $ws6
169bindsym $mod+7 workspace $ws7 180bindsym $mod+7 workspace $ws7
170bindsym $mod+8 workspace $ws8 181bindsym $mod+8 workspace $ws8
171bindsym $mod+9 workspace $ws9 182bindsym $mod+9 workspace $ws9
172bindsym $mod+0 workspace $ws10
173bindcode $mod+49 workspace $wszotero 183bindcode $mod+49 workspace $wszotero
174bindcode $mod+60 workspace $wsdesktop 184bindcode $mod+60 workspace $wsdesktop
175bindcode $mod+21 workspace $wsbrowser 185bindcode $mod+21 workspace $wsbrowser
@@ -184,7 +194,6 @@ bindsym $mod+Shift+6 move container to workspace $ws6
184bindsym $mod+Shift+7 move container to workspace $ws7 194bindsym $mod+Shift+7 move container to workspace $ws7
185bindsym $mod+Shift+8 move container to workspace $ws8 195bindsym $mod+Shift+8 move container to workspace $ws8
186bindsym $mod+Shift+9 move container to workspace $ws9 196bindsym $mod+Shift+9 move container to workspace $ws9
187bindsym $mod+Shift+0 move container to workspace $ws10
188bindcode $mod+Shift+49 move container to workspace $wszotero 197bindcode $mod+Shift+49 move container to workspace $wszotero
189bindcode $mod+Shift+60 move container to workspace $wsdesktop 198bindcode $mod+Shift+60 move container to workspace $wsdesktop
190bindcode $mod+Shift+21 move container to workspace $wsbrowser 199bindcode $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
39font pango:Iosevka 11 39font 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
44bindcode $mod+53 exec --no-startup-id dunstctl close
45bindcode $mod+shift+53 exec --no-startup-id dunstctl close-all
46
47# give context menu with mod+o
48bindcode $mod+47 exec --no-startup-id dunstctl context
49
50# show history items with mod+0 (like the old times)
51bindcode $mod+19 exec --no-startup-id dunstctl history-pop
52
53# done, {task,time}warrior control suite, mod+d
43bindcode $mod+42 exec --no-startup-id ~/.local/bin/done 54bindcode $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
69bindsym XF86AudioNext exec --no-startup-id playerctl next 80bindsym XF86AudioNext exec --no-startup-id playerctl next
70bindsym XF86Tools exec --no-startup-id mpc toggle # for mpd/ncmpcpp 81bindsym 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+-
73bindcode $mod+Shift+20 move scratchpad 84bindcode $mod+Shift+20 move scratchpad
74 85
75# show the first scratchpad window 86# show the first scratchpad window, mod+-
76bindcode $mod+20 scratchpad show 87bindcode $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
159bindsym $mod+7 workspace $ws7 170bindsym $mod+7 workspace $ws7
160bindsym $mod+8 workspace $ws8 171bindsym $mod+8 workspace $ws8
161bindsym $mod+9 workspace $wssteam 172bindsym $mod+9 workspace $wssteam
162bindsym $mod+0 workspace $ws10
163bindsym $mod+m workspace $wsmusic 173bindsym $mod+m workspace $wsmusic
164bindcode $mod+49 workspace $wszotero 174bindcode $mod+49 workspace $wszotero
165bindcode $mod+60 workspace $wsdesktop 175bindcode $mod+60 workspace $wsdesktop
@@ -175,7 +185,6 @@ bindsym $mod+Shift+6 move container to workspace $ws6
175bindsym $mod+Shift+7 move container to workspace $ws7 185bindsym $mod+Shift+7 move container to workspace $ws7
176bindsym $mod+Shift+8 move container to workspace $ws8 186bindsym $mod+Shift+8 move container to workspace $ws8
177bindsym $mod+Shift+9 move container to workspace $wssteam 187bindsym $mod+Shift+9 move container to workspace $wssteam
178bindsym $mod+Shift+0 move container to workspace $ws10
179bindsym $mod+Shift+m move container to workspace $wsmusic 188bindsym $mod+Shift+m move container to workspace $wsmusic
180bindcode $mod+Shift+49 move container to workspace $wszotero 189bindcode $mod+Shift+49 move container to workspace $wszotero
181bindcode $mod+Shift+60 move container to workspace $wsdesktop 190bindcode $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)
337end 337end
338 338
339local servers = { 'rust_analyzer', 'jedi_language_server', 'texlab' } 339local servers = { 'rust_analyzer', 'jedi_language_server', 'texlab', 'clangd' }
340for _, lsp in ipairs(servers) do 340for _, 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
3TOGGLE=$HOME/.local/share/.pause_notifications 3if ! $(dunstctl is-paused); then
4
5if [ ! -e $TOGGLE ]; then
6 echo 4 echo
7else 5else
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
6ls /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
3TOKEN=795983515:AAHAPgakm-BbRKNodF9a0z_OH2VDsIxpm_Q 3TOKEN=$(pass telegram/notifier)
4CHAT_ID=4903620 4CHAT_ID=4903620
5INPUT=$@ 5INPUT=$@
6MESSAGE=${INPUT:-"all done"} 6MESSAGE=${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
22fi 22fi
23 23
24echo REM "${task_date}" AT "${task_time}" +45 *15 MSG %\""${task_description}"%\" %c% >> "${HOME}/nextcloud/remind/050-events.rem" 24echo REM "${task_date}" AT "${task_time}" +45 *15 MSG %\""${task_description}"%\" %c% >> "${HOME}/nextcloud/virtuals/remind/050-events.rem"
25 25
26notify-send "notification set!" "${task_date} at ${task_time}" --app-name="remind" --icon="checkmark" 26notify-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
3TOGGLE=$HOME/.local/share/.pause_notifications 3if $(dunstctl is-paused); then
4
5if [ ! -e $TOGGLE ]; then
6 touch $TOGGLE
7 dunstify --appname="notifications" --icon="chronometer-pause" "pausing" -u low
8 sleep 3
9 killall -SIGUSR1 dunst # pause
10else
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
6else
7 dunstify --appname="notifications" --icon="chronometer-pause" "pausing" -u low
8 sleep 2
9 dunstctl set-paused true
14fi 10fi
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