sway/waybar: Change mpd volume on scroll

This commit is contained in:
Simon Bruder 2020-11-15 09:45:28 +01:00
parent 09deea9911
commit 70cabe55ee
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -313,6 +313,8 @@ in
interval = 2;
tooltip-format = "MPD (connected)";
tooltip-format-disconnected = "MPD (disconnected)";
on-scroll-up = "${pkgs.mpc_cli}/bin/mpc volume +2";
on-scroll-down = "${pkgs.mpc_cli}/bin/mpc volume -2";
consume-icons = {
on = " ";
};