diff options
author | Justine Smithies <justine@smithies.me.uk> | 2023-12-24 19:02:01 +0000 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2023-12-24 19:02:01 +0000 |
commit | dee1ae0c13c3b70ad6a9f40416ad0b415c36aba1 (patch) | |
tree | 7984451674d88feee640ce9f54195980f3076ebd /.config/yambar/config.yml | |
parent | 86d3edaf6cc8c89fed98686435db76bf5c9826c8 (diff) |
Now uses pactl for volume +/- and mute
Diffstat (limited to '.config/yambar/config.yml')
-rw-r--r-- | .config/yambar/config.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/yambar/config.yml b/.config/yambar/config.yml index 0048d22..9ef06c9 100644 --- a/.config/yambar/config.yml +++ b/.config/yambar/config.yml @@ -109,14 +109,14 @@ bar: string: text: "0%" on-click: - middle: sh -c "amixer set Master 1+ toggle" + middle: sh -c "pactl set-sink-mute @DEFAULT_SINK@ toggle" ~muted: string: text: "{cubic_volume}%" on-click: - left: sh -c "amixer sset Master 2%-" - middle: sh -c "amixer set Master 1+ toggle" - right: sh -c "amixer sset Master 2%+" + left: sh -c "pactl set-sink-volume @DEFAULT_SINK@ -2%" + middle: sh -c "pactl set-sink-mute @DEFAULT_SINK@ toggle" + right: sh -c "pactl set-sink-volume @DEFAULT_SINK@ +2%" content: list: items: |