diff options
author | Yigit Sever | 2021-10-27 11:05:01 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-27 11:05:01 +0300 |
commit | 67f5cb9386454d9a3fa2517540de03c2ed6f08f3 (patch) | |
tree | da9df8c1fee214c76a65c1a648e5f83fb0611d8e /.config/polybar | |
parent | 5ee15326de8e22f86eabd2ec0d0087ef12724f45 (diff) | |
download | dotfiles-67f5cb9386454d9a3fa2517540de03c2ed6f08f3.tar.gz dotfiles-67f5cb9386454d9a3fa2517540de03c2ed6f08f3.tar.bz2 dotfiles-67f5cb9386454d9a3fa2517540de03c2ed6f08f3.zip |
polybar: clean up the scripts
Diffstat (limited to '.config/polybar')
-rw-r--r-- | .config/polybar/config##h.lowe | 21 | ||||
-rw-r--r-- | .config/polybar/config##h.luchs | 15 | ||||
-rw-r--r-- | .config/polybar/config##h.maus | 16 | ||||
-rwxr-xr-x | .config/polybar/scripts/focus (renamed from .config/polybar/focus) | 0 | ||||
-rwxr-xr-x | .config/polybar/scripts/notification_pause (renamed from .config/polybar/notification_pause.sh) | 0 | ||||
-rwxr-xr-x | .config/polybar/scripts/pulseaudio_control (renamed from .config/polybar/pulseaudio-control.sh) | 0 | ||||
-rwxr-xr-x | .config/polybar/scripts/stop (renamed from .config/polybar/stop) | 0 |
7 files changed, 19 insertions, 33 deletions
diff --git a/.config/polybar/config##h.lowe b/.config/polybar/config##h.lowe index 9c1ae06..caebed7 100644 --- a/.config/polybar/config##h.lowe +++ b/.config/polybar/config##h.lowe | |||
@@ -79,8 +79,9 @@ label-offline = Github offline | |||
79 | 79 | ||
80 | [module/focus] | 80 | [module/focus] |
81 | type = custom/script | 81 | type = custom/script |
82 | exec = ~/.config/polybar/focus | 82 | exec = ~/.config/polybar/scripts/focus |
83 | interval = 10 | 83 | double-click-left = exec ~/.config/polybar/scripts/stop & |
84 | interval = 1 | ||
84 | 85 | ||
85 | [module/spotify] | 86 | [module/spotify] |
86 | type = custom/script | 87 | type = custom/script |
@@ -186,22 +187,6 @@ label-background = ${colors.background_modules} | |||
186 | label-foreground = ${colors.foreground_modules} | 187 | label-foreground = ${colors.foreground_modules} |
187 | label-padding = 1 | 188 | label-padding = 1 |
188 | 189 | ||
189 | [module/pulseaudio-control] | ||
190 | type = custom/script | ||
191 | tail = true | ||
192 | label = %output% | ||
193 | interval = 5 | ||
194 | |||
195 | exec = ~/.config/polybar/pulseaudio-control.sh --listen | ||
196 | click-right = exec pavucontrol & | ||
197 | click-left = ~/.config/polybar/pulseaudio-control.sh --togmute | ||
198 | click-middle = ~/.config/polybar/pulseaudio-control.sh --change | ||
199 | scroll-up = ~/.config/polybar/pulseaudio-control.sh --up | ||
200 | scroll-down = ~/.config/polybar/pulseaudio-control.sh --down | ||
201 | label-padding = 2 | ||
202 | label-foreground = ${colors.foreground_modules} | ||
203 | label-background = ${colors.background_modules} | ||
204 | |||
205 | [settings] | 190 | [settings] |
206 | screenchange-reload = true | 191 | screenchange-reload = true |
207 | compositing-background = source | 192 | compositing-background = source |
diff --git a/.config/polybar/config##h.luchs b/.config/polybar/config##h.luchs index 4cf066d..c7fc4af 100644 --- a/.config/polybar/config##h.luchs +++ b/.config/polybar/config##h.luchs | |||
@@ -78,8 +78,9 @@ label-offline = Github offline | |||
78 | 78 | ||
79 | [module/focus] | 79 | [module/focus] |
80 | type = custom/script | 80 | type = custom/script |
81 | exec = ~/.config/polybar/focus | 81 | exec = ~/.config/polybar/scripts/focus |
82 | interval = 10 | 82 | double-click-left = exec ~/.config/polybar/scripts/stop & |
83 | interval = 1 | ||
83 | 84 | ||
84 | [module/spotify] | 85 | [module/spotify] |
85 | type = custom/script | 86 | type = custom/script |
@@ -267,12 +268,12 @@ tail = true | |||
267 | label = %output% | 268 | label = %output% |
268 | interval = 5 | 269 | interval = 5 |
269 | 270 | ||
270 | exec = ~/.config/polybar/pulseaudio-control.sh --listen | 271 | exec = ~/.config/polybar/scripts/pulseaudio_control --listen |
271 | click-right = exec pavucontrol & | 272 | click-right = exec pavucontrol & |
272 | click-left = ~/.config/polybar/pulseaudio-control.sh --togmute | 273 | click-left = ~/.config/polybar/scripts/pulseaudio_control --togmute |
273 | click-middle = ~/.config/polybar/pulseaudio-control.sh --change | 274 | click-middle = ~/.config/polybar/scripts/pulseaudio_control --change |
274 | scroll-up = ~/.config/polybar/pulseaudio-control.sh --up | 275 | scroll-up = ~/.config/polybar/scripts/pulseaudio_control --up |
275 | scroll-down = ~/.config/polybar/pulseaudio-control.sh --down | 276 | scroll-down = ~/.config/polybar/scripts/pulseaudio_control --down |
276 | label-padding = 2 | 277 | label-padding = 2 |
277 | label-foreground = ${colors.foreground_modules} | 278 | label-foreground = ${colors.foreground_modules} |
278 | label-background = ${colors.background_modules} | 279 | label-background = ${colors.background_modules} |
diff --git a/.config/polybar/config##h.maus b/.config/polybar/config##h.maus index 3ac8a00..cf390c7 100644 --- a/.config/polybar/config##h.maus +++ b/.config/polybar/config##h.maus | |||
@@ -89,13 +89,13 @@ label-offline = Github offline | |||
89 | 89 | ||
90 | [module/focus] | 90 | [module/focus] |
91 | type = custom/script | 91 | type = custom/script |
92 | exec = ~/.config/polybar/focus | 92 | exec = ~/.config/polybar/scripts/focus |
93 | double-click-left = exec ~/.config/polybar/stop & | 93 | double-click-left = exec ~/.config/polybar/scripts/stop & |
94 | interval = 1 | 94 | interval = 1 |
95 | 95 | ||
96 | [module/notification_pause] | 96 | [module/notification_pause] |
97 | type = custom/script | 97 | type = custom/script |
98 | exec = ~/.config/polybar/notification_pause.sh | 98 | exec = ~/.config/polybar/scripts/notification_pause |
99 | interval = 5 | 99 | interval = 5 |
100 | 100 | ||
101 | [module/spotify] | 101 | [module/spotify] |
@@ -356,12 +356,12 @@ tail = true | |||
356 | label = %output% | 356 | label = %output% |
357 | interval = 5 | 357 | interval = 5 |
358 | 358 | ||
359 | exec = ~/.config/polybar/pulseaudio-control.sh --listen | 359 | exec = ~/.config/polybar/scripts/pulseaudio_control --listen |
360 | click-right = exec pavucontrol & | 360 | click-right = exec pavucontrol & |
361 | click-left = ~/.config/polybar/pulseaudio-control.sh --togmute | 361 | click-left = ~/.config/polybar/scripts/pulseaudio_control --togmute |
362 | click-middle = ~/.config/polybar/pulseaudio-control.sh --change | 362 | click-middle = ~/.config/polybar/scripts/pulseaudio_control --change |
363 | scroll-up = ~/.config/polybar/pulseaudio-control.sh --up | 363 | scroll-up = ~/.config/polybar/scripts/pulseaudio_control --up |
364 | scroll-down = ~/.config/polybar/pulseaudio-control.sh --down | 364 | scroll-down = ~/.config/polybar/scripts/pulseaudio_control --down |
365 | label-padding = 2 | 365 | label-padding = 2 |
366 | label-foreground = ${colors.foreground_modules} | 366 | label-foreground = ${colors.foreground_modules} |
367 | label-background = ${colors.background_modules} | 367 | label-background = ${colors.background_modules} |
diff --git a/.config/polybar/focus b/.config/polybar/scripts/focus index 49d46d2..49d46d2 100755 --- a/.config/polybar/focus +++ b/.config/polybar/scripts/focus | |||
diff --git a/.config/polybar/notification_pause.sh b/.config/polybar/scripts/notification_pause index 9bf6724..9bf6724 100755 --- a/.config/polybar/notification_pause.sh +++ b/.config/polybar/scripts/notification_pause | |||
diff --git a/.config/polybar/pulseaudio-control.sh b/.config/polybar/scripts/pulseaudio_control index 7ba2c3f..7ba2c3f 100755 --- a/.config/polybar/pulseaudio-control.sh +++ b/.config/polybar/scripts/pulseaudio_control | |||
diff --git a/.config/polybar/stop b/.config/polybar/scripts/stop index 1efd193..1efd193 100755 --- a/.config/polybar/stop +++ b/.config/polybar/scripts/stop | |||