summaryrefslogtreecommitdiffstats
path: root/.config/polybar
diff options
context:
space:
mode:
authorYigit Sever2022-04-18 12:44:07 +0300
committerYigit Sever2022-04-18 12:44:07 +0300
commit606d7d80df26c467a0680f27b34295eb8c2da0d7 (patch)
treedffa8f7f51da4083c597e74b8dfd1143212a6024 /.config/polybar
parent4eff03aa6556ff0f61aa3be9099614a183df40c7 (diff)
downloaddotfiles-606d7d80df26c467a0680f27b34295eb8c2da0d7.tar.gz
dotfiles-606d7d80df26c467a0680f27b34295eb8c2da0d7.tar.bz2
dotfiles-606d7d80df26c467a0680f27b34295eb8c2da0d7.zip
polybar: lowe has sound now
diffstat (limited to '.config/polybar')
-rw-r--r--.config/polybar/config.ini##h.lowe21
1 files changed, 11 insertions, 10 deletions
diff --git a/.config/polybar/config.ini##h.lowe b/.config/polybar/config.ini##h.lowe
index 4d2efee..63f671e 100644
--- a/.config/polybar/config.ini##h.lowe
+++ b/.config/polybar/config.ini##h.lowe
@@ -46,7 +46,7 @@ module-margin = 1
46font-0 = scientifica:antialias=false;1 46font-0 = scientifica:antialias=false;1
47font-1 = Siji:size=20;1 47font-1 = Siji:size=20;1
48 48
49modules-left = i3 github iss 49modules-left = i3 pulseaudio-control github iss
50modules-center = xwindow 50modules-center = xwindow
51modules-right = toread focus date time 51modules-right = toread focus date time
52 52
@@ -197,19 +197,20 @@ label-background = ${colors.background_modules}
197label-foreground = ${colors.foreground_modules} 197label-foreground = ${colors.foreground_modules}
198label-padding = 1 198label-padding = 1
199 199
200[module/pipewire] 200[module/pulseaudio-control]
201type = custom/script 201type = custom/script
202tail = true 202tail = true
203label = %output% 203label = %output%
204interval = 5 204format-prefix = 
205 205format-prefix-background = ${colors.blue}
206exec = /home/yigit/.config/polybar/scripts/pipewire 206format-prefix-foreground = ${colors.foreground}
207format-prefix-padding = 1
207 208
208click-right = /home/yigit/.config/polybar/scripts/pipewire previous-sink 209exec = pulseaudio-control --icons-volume " , " --icon-muted " " --format '${VOL_LEVEL}% $VOL_ICON' listen
209click-left = /home/yigit/.config/polybar/scripts/pipewire next-sink 210click-right = exec pavucontrol &
210click-middle = /home/yigit/.config/polybar/scripts/pipewire toggle-mute 211click-left = pulseaudio-control togmute
211scroll-up = /home/yigit/.config/polybar/scripts/pipewire volume-up 212scroll-up = pulseaudio-control --volume-max 130 up
212scroll-down = /home/yigit/.config/polybar/scripts/pipewire volume-down 213scroll-down = pulseaudio-control --volume-max 130 down
213 214
214label-padding = 2 215label-padding = 2
215label-foreground = ${colors.foreground_modules} 216label-foreground = ${colors.foreground_modules}