fix volume up not working

This commit is contained in:
zoe 2022-09-10 18:55:47 +02:00
parent ff506e1734
commit db1ea68a84
2 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ _mediaChord = KeyChord(
Key([], "j", lazy.spawn("pactl set-sink-volume 0 -10%")),
Key(["shift"], "j", lazy.spawn("playerctl volume 0.1- --player=cmus,%any")),
Key([], "k", lazy.spawn("pactl set-sink-volume 0 +10%")),
Key(["shift"], "k", lazy.spawn("playerctl volume 0.1+, --player=cmus,%any")),
Key(["shift"], "k", lazy.spawn("playerctl volume 0.1+ --player=cmus,%any")),
Key([], "m", lazy.spawn("pactl set-sink-mute 0 toggle")),
Key([], "space", lazy.spawn("playerctl play-pause --player=cmus,%any")),
Key([], "l", lazy.spawn("playerctl next --player=cmus,%any")),

View File

@ -203,9 +203,9 @@ def _get_bar_contents(primary=False):
]
if primary:
l.insert(1, _tray)
l = [
_net,
_ram,
_cpu,
] + l
l = [
_net,
_ram,
_cpu,
] + l
return l