diff options
author | Yigit Sever | 2022-04-18 12:44:07 +0300 |
---|---|---|
committer | Yigit Sever | 2022-04-18 12:44:07 +0300 |
commit | 606d7d80df26c467a0680f27b34295eb8c2da0d7 (patch) | |
tree | dffa8f7f51da4083c597e74b8dfd1143212a6024 /.config/polybar | |
parent | 4eff03aa6556ff0f61aa3be9099614a183df40c7 (diff) | |
download | dotfiles-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.lowe | 21 |
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 | |||
46 | font-0 = scientifica:antialias=false;1 | 46 | font-0 = scientifica:antialias=false;1 |
47 | font-1 = Siji:size=20;1 | 47 | font-1 = Siji:size=20;1 |
48 | 48 | ||
49 | modules-left = i3 github iss | 49 | modules-left = i3 pulseaudio-control github iss |
50 | modules-center = xwindow | 50 | modules-center = xwindow |
51 | modules-right = toread focus date time | 51 | modules-right = toread focus date time |
52 | 52 | ||
@@ -197,19 +197,20 @@ label-background = ${colors.background_modules} | |||
197 | label-foreground = ${colors.foreground_modules} | 197 | label-foreground = ${colors.foreground_modules} |
198 | label-padding = 1 | 198 | label-padding = 1 |
199 | 199 | ||
200 | [module/pipewire] | 200 | [module/pulseaudio-control] |
201 | type = custom/script | 201 | type = custom/script |
202 | tail = true | 202 | tail = true |
203 | label = %output% | 203 | label = %output% |
204 | interval = 5 | 204 | format-prefix = |
205 | 205 | format-prefix-background = ${colors.blue} | |
206 | exec = /home/yigit/.config/polybar/scripts/pipewire | 206 | format-prefix-foreground = ${colors.foreground} |
207 | format-prefix-padding = 1 | ||
207 | 208 | ||
208 | click-right = /home/yigit/.config/polybar/scripts/pipewire previous-sink | 209 | exec = pulseaudio-control --icons-volume " , " --icon-muted " " --format '${VOL_LEVEL}% $VOL_ICON' listen |
209 | click-left = /home/yigit/.config/polybar/scripts/pipewire next-sink | 210 | click-right = exec pavucontrol & |
210 | click-middle = /home/yigit/.config/polybar/scripts/pipewire toggle-mute | 211 | click-left = pulseaudio-control togmute |
211 | scroll-up = /home/yigit/.config/polybar/scripts/pipewire volume-up | 212 | scroll-up = pulseaudio-control --volume-max 130 up |
212 | scroll-down = /home/yigit/.config/polybar/scripts/pipewire volume-down | 213 | scroll-down = pulseaudio-control --volume-max 130 down |
213 | 214 | ||
214 | label-padding = 2 | 215 | label-padding = 2 |
215 | label-foreground = ${colors.foreground_modules} | 216 | label-foreground = ${colors.foreground_modules} |