sway/waybar: Change mpd volume on scroll

restic-rest-server
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
1 changed files with 2 additions and 0 deletions

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 = " ";
};