waybar: Do not print status on mpc invocation

This commit is contained in:
Simon Bruder 2021-03-29 16:20:24 +02:00
parent 50f0968738
commit 1521f10806
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -149,9 +149,9 @@ lib.mkIf nixosConfig.sbruder.gui.enable {
"XF86AudioRaiseVolume" = "exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ +5%"; "XF86AudioRaiseVolume" = "exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ +5%";
"XF86AudioLowerVolume" = "exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ -5%"; "XF86AudioLowerVolume" = "exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ -5%";
"XF86AudioPrev" = "exec ${pkgs.mpc_cli}/bin/mpc next"; "XF86AudioPrev" = "exec ${pkgs.mpc_cli}/bin/mpc -q next";
"XF86AudioNext" = "exec ${pkgs.mpc_cli}/bin/mpc prev"; "XF86AudioNext" = "exec ${pkgs.mpc_cli}/bin/mpc -q prev";
"XF86AudioPlay" = "exec ${pkgs.mpc_cli}/bin/mpc toggle"; "XF86AudioPlay" = "exec ${pkgs.mpc_cli}/bin/mpc -q toggle";
# Mumble PTT # Mumble PTT
"--no-repeat Shift_R" = "exec ${pkgs.dbus}/bin/dbus-send --session --type=method_call --dest=net.sourceforge.mumble.mumble / net.sourceforge.mumble.Mumble.startTalking"; "--no-repeat Shift_R" = "exec ${pkgs.dbus}/bin/dbus-send --session --type=method_call --dest=net.sourceforge.mumble.mumble / net.sourceforge.mumble.Mumble.startTalking";
@ -410,8 +410,8 @@ lib.mkIf nixosConfig.sbruder.gui.enable {
interval = 2; interval = 2;
tooltip-format = "MPD (connected)"; tooltip-format = "MPD (connected)";
tooltip-format-disconnected = "MPD (disconnected)"; tooltip-format-disconnected = "MPD (disconnected)";
on-scroll-up = "${pkgs.mpc_cli}/bin/mpc volume +2"; on-scroll-up = "${pkgs.mpc_cli}/bin/mpc -q volume +2";
on-scroll-down = "${pkgs.mpc_cli}/bin/mpc volume -2"; on-scroll-down = "${pkgs.mpc_cli}/bin/mpc -q volume -2";
consume-icons = { consume-icons = {
on = " "; on = " ";
}; };