waybar: Change icon, start easyeffects on right click volume

This commit is contained in:
Erwin Boskma 2023-07-04 20:27:44 +02:00
parent d0138fc43e
commit f70a25f475
Signed by: erwin
SSH key fingerprint: SHA256:9LmFDe1C6jSrEyqxxvX8NtJBmcbB105XoqyUZF092bg

View file

@ -101,7 +101,7 @@ in
exec = "${pkgs.ha-now-playing}/bin/ha-now-playing --host home.datarift.nl --entity media_player.sonos_woonkamer --token-file /run/secrets/ha_now_playing_token"; exec = "${pkgs.ha-now-playing}/bin/ha-now-playing --host home.datarift.nl --entity media_player.sonos_woonkamer --token-file /run/secrets/ha_now_playing_token";
exec-on-event = false; exec-on-event = false;
escape = true; escape = true;
format = " {}"; format = "󰐹 {}"; # Icon: radio
restart-interval = 1; restart-interval = 1;
return-type = "json"; return-type = "json";
on-click = "${pkgs.ha-now-playing}/bin/ha-now-playing --host home.datarift.nl --entity media_player.sonos_woonkamer --token-file /run/secrets/ha_now_playing_token play-pause"; on-click = "${pkgs.ha-now-playing}/bin/ha-now-playing --host home.datarift.nl --entity media_player.sonos_woonkamer --token-file /run/secrets/ha_now_playing_token play-pause";
@ -153,6 +153,7 @@ in
}; };
on-click = "${pkgs.pavucontrol}/bin/pavucontrol"; on-click = "${pkgs.pavucontrol}/bin/pavucontrol";
on-click-middle = "${pkgs.helvum}/bin/helvum"; on-click-middle = "${pkgs.helvum}/bin/helvum";
on-click-right = "${pkgs.easyeffects}/bin/easyeffects";
}; };
"temperature" = { "temperature" = {