diff options
Diffstat (limited to '.config')
-rwxr-xr-x | .config/nvim/init.vim | 3 | ||||
-rw-r--r-- | .config/polybar/config##c.desktop,h.maus | 8 | ||||
-rwxr-xr-x | .config/polybar/notification_pause.sh | 9 |
3 files changed, 19 insertions, 1 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 131a6ab..1017e73 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim | |||
@@ -557,3 +557,6 @@ let g:beacon_shrink = 0 | |||
557 | highlight Beacon guibg=red ctermbg=15 | 557 | highlight Beacon guibg=red ctermbg=15 |
558 | " }}} beacon " | 558 | " }}} beacon " |
559 | 559 | ||
560 | let g:tq_enabled_backends = ["mthesaur_txt"] | ||
561 | let g:tq_truncation_on_relavance = 0 | ||
562 | |||
diff --git a/.config/polybar/config##c.desktop,h.maus b/.config/polybar/config##c.desktop,h.maus index a489840..e78d49d 100644 --- a/.config/polybar/config##c.desktop,h.maus +++ b/.config/polybar/config##c.desktop,h.maus | |||
@@ -52,10 +52,11 @@ font-0 = scientifica:antialias=false;1 | |||
52 | font-1 = Lato:size=10;1 | 52 | font-1 = Lato:size=10;1 |
53 | font-2 = Raleway:size=10;1 | 53 | font-2 = Raleway:size=10;1 |
54 | font-3 = FuraCode Nerd Font:size=12;2 | 54 | font-3 = FuraCode Nerd Font:size=12;2 |
55 | font-4 = Noto Color Emoji:scale=10;2 | ||
55 | 56 | ||
56 | modules-left = i3 pulseaudio-control spotify mpd | 57 | modules-left = i3 pulseaudio-control spotify mpd |
57 | modules-center = xwindow | 58 | modules-center = xwindow |
58 | modules-right = cpu focus date time xkeyboard | 59 | modules-right = notification_pause cpu focus date time xkeyboard |
59 | 60 | ||
60 | tray-position = right | 61 | tray-position = right |
61 | 62 | ||
@@ -68,6 +69,11 @@ exec = ~/.config/polybar/focus | |||
68 | double-click-left = exec ~/.config/polybar/stop & | 69 | double-click-left = exec ~/.config/polybar/stop & |
69 | interval = 10 | 70 | interval = 10 |
70 | 71 | ||
72 | [module/notification_pause] | ||
73 | type = custom/script | ||
74 | exec = ~/.config/polybar/notification_pause.sh | ||
75 | interval = 10 | ||
76 | |||
71 | [module/newyork] | 77 | [module/newyork] |
72 | type = custom/script | 78 | type = custom/script |
73 | exec = ~/.config/polybar/new_york.sh | 79 | exec = ~/.config/polybar/new_york.sh |
diff --git a/.config/polybar/notification_pause.sh b/.config/polybar/notification_pause.sh new file mode 100755 index 0000000..7e59453 --- /dev/null +++ b/.config/polybar/notification_pause.sh | |||
@@ -0,0 +1,9 @@ | |||
1 | #!/usr/bin/env bash | ||
2 | |||
3 | TOGGLE=$HOME/.local/share/.pause_notifications | ||
4 | |||
5 | if [ ! -e $TOGGLE ]; then | ||
6 | echo | ||
7 | else | ||
8 | printf "🔕" | ||
9 | fi | ||