summaryrefslogtreecommitdiffstats
path: root/.config/polybar
diff options
context:
space:
mode:
authorYigit Sever2021-10-27 11:05:01 +0300
committerYigit Sever2021-10-27 11:05:01 +0300
commit67f5cb9386454d9a3fa2517540de03c2ed6f08f3 (patch)
treeda9df8c1fee214c76a65c1a648e5f83fb0611d8e /.config/polybar
parent5ee15326de8e22f86eabd2ec0d0087ef12724f45 (diff)
downloaddotfiles-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.lowe21
-rw-r--r--.config/polybar/config##h.luchs15
-rw-r--r--.config/polybar/config##h.maus16
-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]
81type = custom/script 81type = custom/script
82exec = ~/.config/polybar/focus 82exec = ~/.config/polybar/scripts/focus
83interval = 10 83double-click-left = exec ~/.config/polybar/scripts/stop &
84interval = 1
84 85
85[module/spotify] 86[module/spotify]
86type = custom/script 87type = custom/script
@@ -186,22 +187,6 @@ label-background = ${colors.background_modules}
186label-foreground = ${colors.foreground_modules} 187label-foreground = ${colors.foreground_modules}
187label-padding = 1 188label-padding = 1
188 189
189[module/pulseaudio-control]
190type = custom/script
191tail = true
192label = %output%
193interval = 5
194
195exec = ~/.config/polybar/pulseaudio-control.sh --listen
196click-right = exec pavucontrol &
197click-left = ~/.config/polybar/pulseaudio-control.sh --togmute
198click-middle = ~/.config/polybar/pulseaudio-control.sh --change
199scroll-up = ~/.config/polybar/pulseaudio-control.sh --up
200scroll-down = ~/.config/polybar/pulseaudio-control.sh --down
201label-padding = 2
202label-foreground = ${colors.foreground_modules}
203label-background = ${colors.background_modules}
204
205[settings] 190[settings]
206screenchange-reload = true 191screenchange-reload = true
207compositing-background = source 192compositing-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]
80type = custom/script 80type = custom/script
81exec = ~/.config/polybar/focus 81exec = ~/.config/polybar/scripts/focus
82interval = 10 82double-click-left = exec ~/.config/polybar/scripts/stop &
83interval = 1
83 84
84[module/spotify] 85[module/spotify]
85type = custom/script 86type = custom/script
@@ -267,12 +268,12 @@ tail = true
267label = %output% 268label = %output%
268interval = 5 269interval = 5
269 270
270exec = ~/.config/polybar/pulseaudio-control.sh --listen 271exec = ~/.config/polybar/scripts/pulseaudio_control --listen
271click-right = exec pavucontrol & 272click-right = exec pavucontrol &
272click-left = ~/.config/polybar/pulseaudio-control.sh --togmute 273click-left = ~/.config/polybar/scripts/pulseaudio_control --togmute
273click-middle = ~/.config/polybar/pulseaudio-control.sh --change 274click-middle = ~/.config/polybar/scripts/pulseaudio_control --change
274scroll-up = ~/.config/polybar/pulseaudio-control.sh --up 275scroll-up = ~/.config/polybar/scripts/pulseaudio_control --up
275scroll-down = ~/.config/polybar/pulseaudio-control.sh --down 276scroll-down = ~/.config/polybar/scripts/pulseaudio_control --down
276label-padding = 2 277label-padding = 2
277label-foreground = ${colors.foreground_modules} 278label-foreground = ${colors.foreground_modules}
278label-background = ${colors.background_modules} 279label-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]
91type = custom/script 91type = custom/script
92exec = ~/.config/polybar/focus 92exec = ~/.config/polybar/scripts/focus
93double-click-left = exec ~/.config/polybar/stop & 93double-click-left = exec ~/.config/polybar/scripts/stop &
94interval = 1 94interval = 1
95 95
96[module/notification_pause] 96[module/notification_pause]
97type = custom/script 97type = custom/script
98exec = ~/.config/polybar/notification_pause.sh 98exec = ~/.config/polybar/scripts/notification_pause
99interval = 5 99interval = 5
100 100
101[module/spotify] 101[module/spotify]
@@ -356,12 +356,12 @@ tail = true
356label = %output% 356label = %output%
357interval = 5 357interval = 5
358 358
359exec = ~/.config/polybar/pulseaudio-control.sh --listen 359exec = ~/.config/polybar/scripts/pulseaudio_control --listen
360click-right = exec pavucontrol & 360click-right = exec pavucontrol &
361click-left = ~/.config/polybar/pulseaudio-control.sh --togmute 361click-left = ~/.config/polybar/scripts/pulseaudio_control --togmute
362click-middle = ~/.config/polybar/pulseaudio-control.sh --change 362click-middle = ~/.config/polybar/scripts/pulseaudio_control --change
363scroll-up = ~/.config/polybar/pulseaudio-control.sh --up 363scroll-up = ~/.config/polybar/scripts/pulseaudio_control --up
364scroll-down = ~/.config/polybar/pulseaudio-control.sh --down 364scroll-down = ~/.config/polybar/scripts/pulseaudio_control --down
365label-padding = 2 365label-padding = 2
366label-foreground = ${colors.foreground_modules} 366label-foreground = ${colors.foreground_modules}
367label-background = ${colors.background_modules} 367label-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