summaryrefslogtreecommitdiffstats
path: root/.config/polybar/config##desktop.Linux.Maus
diff options
context:
space:
mode:
authorYigit Sever2019-10-27 23:48:27 +0300
committerYigit Sever2019-10-27 23:48:27 +0300
commit2111538c0d3512cf128f9c1935e7ad040bb88986 (patch)
tree81754e5ae75298ce96f5806343df640f21345e7a /.config/polybar/config##desktop.Linux.Maus
parenta117f46f4130485fa2acd57d00d31b140c547039 (diff)
downloaddotfiles-2111538c0d3512cf128f9c1935e7ad040bb88986.tar.gz
dotfiles-2111538c0d3512cf128f9c1935e7ad040bb88986.tar.bz2
dotfiles-2111538c0d3512cf128f9c1935e7ad040bb88986.zip
Spice up polybar
Diffstat (limited to '.config/polybar/config##desktop.Linux.Maus')
-rw-r--r--.config/polybar/config##desktop.Linux.Maus38
1 files changed, 27 insertions, 11 deletions
diff --git a/.config/polybar/config##desktop.Linux.Maus b/.config/polybar/config##desktop.Linux.Maus
index 7ec3156..f9686ae 100644
--- a/.config/polybar/config##desktop.Linux.Maus
+++ b/.config/polybar/config##desktop.Linux.Maus
@@ -50,9 +50,9 @@ module-margin = 1
50font-0 = scientifica:antialias=false;0 50font-0 = scientifica:antialias=false;0
51font-1 = Lato:size=10;1 51font-1 = Lato:size=10;1
52font-2 = Raleway:size=10;1 52font-2 = Raleway:size=10;1
53font-3 = FuraCode Nerd Font Mono:size=12;2 53font-3 = FuraCode Nerd Font:size=12;2
54 54
55modules-left = i3 pulseaudio mpd 55modules-left = i3 mpd pulseaudio-control
56modules-center = xwindow 56modules-center = xwindow
57modules-right = focus date time xkeyboard 57modules-right = focus date time xkeyboard
58 58
@@ -89,8 +89,8 @@ y-offset = 10
89label-padding = 1 89label-padding = 1
90label-font = 1 90label-font = 1
91 91
92label-empty = 92label-empty =
93label-empty-font = 4 93label-empty-font = 3
94label-empty-padding = 5 94label-empty-padding = 5
95 95
96[module/xkeyboard] 96[module/xkeyboard]
@@ -101,11 +101,11 @@ blacklist-1 = scroll lock
101format = <label-layout> <label-indicator> 101format = <label-layout> <label-indicator>
102format-spacing = 0 102format-spacing = 0
103 103
104format-prefix = 104format-prefix =
105format-prefix-padding = 1 105format-prefix-padding = 1
106format-prefix-background = ${colors.blue} 106format-prefix-background = ${colors.blue}
107format-prefix-foreground = ${colors.foreground} 107format-prefix-foreground = ${colors.foreground}
108format-prefix-font = 4 108format-prefix-font = 3
109 109
110label-layout = %layout% 110label-layout = %layout%
111label-layout-padding = 1 111label-layout-padding = 1
@@ -195,7 +195,7 @@ format = <label>
195format-prefix =  195format-prefix = 
196format-prefix-background = ${colors.orange} 196format-prefix-background = ${colors.orange}
197format-prefix-foreground = ${colors.foreground} 197format-prefix-foreground = ${colors.foreground}
198format-prefix-font = 4 198format-prefix-font = 3
199format-prefix-padding = 1 199format-prefix-padding = 1
200 200
201label-background = ${colors.background_modules} 201label-background = ${colors.background_modules}
@@ -210,10 +210,10 @@ time = %H:%M
210label = %time% 210label = %time%
211format = <label> 211format = <label>
212 212
213format-prefix = 213format-prefix =
214format-prefix-background = ${colors.secondary} 214format-prefix-background = ${colors.secondary}
215format-prefix-foreground = ${colors.foreground} 215format-prefix-foreground = ${colors.foreground}
216format-prefix-font = 4 216format-prefix-font = 3
217format-prefix-padding = 1 217format-prefix-padding = 1
218 218
219label-background = ${colors.background_modules} 219label-background = ${colors.background_modules}
@@ -226,10 +226,10 @@ interval = 5
226 226
227format-volume = <label-volume> 227format-volume = <label-volume>
228 228
229format-volume-prefix = 229format-volume-prefix =
230format-volume-prefix-background = ${colors.purple} 230format-volume-prefix-background = ${colors.purple}
231format-volume-prefix-foreground = ${colors.background_modules} 231format-volume-prefix-foreground = ${colors.background_modules}
232format-volume-prefix-font = 4 232format-volume-prefix-font = 3
233format-volume-prefix-padding = 1 233format-volume-prefix-padding = 1
234 234
235label-volume = %percentage% 235label-volume = %percentage%
@@ -242,6 +242,22 @@ label-muted-background = ${colors.purple}
242label-muted-foreground = ${colors.foreground} 242label-muted-foreground = ${colors.foreground}
243label-muted-padding = 2 243label-muted-padding = 2
244 244
245[module/pulseaudio-control]
246type = custom/script
247tail = true
248label = %output%
249interval = 5
250
251exec = ~/.config/polybar/pulseaudio-control.sh --listen
252click-right = exec pavucontrol &
253click-left = ~/.config/polybar/pulseaudio-control.sh --togmute
254click-middle = ~/.config/polybar/pulseaudio-control.sh --change
255scroll-up = ~/.config/polybar/pulseaudio-control.sh --up
256scroll-down = ~/.config/polybar/pulseaudio-control.sh --down
257label-padding = 2
258label-foreground = ${colors.foreground_modules}
259label-background = ${colors.background_modules}
260
245[settings] 261[settings]
246screenchange-reload = true 262screenchange-reload = true
247compositing-background = source 263compositing-background = source