commit 92a33e4e52f38d51bf6e3e93f2cc8a3fbe7e8b0a
parent 1935b572a47e9f929df380a9ee813b75728d39de
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 18 Jan 2022 15:44:09 +0100
parent 1935b572a47e9f929df380a9ee813b75728d39de
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 18 Jan 2022 15:44:09 +0100
programs/waybar: fix typo, add right-click action on puleaudio-module
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/configurations/programs/waybar/default.nix b/configurations/programs/waybar/default.nix @@ -23,7 +23,7 @@ modules-center = [ "clock" ]; modules-right = ( if config.networking.hostName != "stasicontainer" then [ - "tray" "disk" "memory" "cpu" "idle_inhibitor" "network#wifi" "batteery" "pulseaudio" + "tray" "disk" "memory" "cpu" "idle_inhibitor" "network#wifi" "battery" "pulseaudio" ] else [ "tray" "disk" "memory" "cpu" "idle_inhibitor" "network#ethernet" "pulseaudio" ] @@ -111,8 +111,9 @@ }; pulseaudio = { - scroll-step = 1; - on-click = "${pkgs.pavucontrol}/bin/pavucontrol"; + scroll-step = 1; + on-click = "${pkgs.pavucontrol}/bin/pavucontrol"; + on-click-right = "PULSE_SERVER=10.0.0.1 ${pkgs.pavucontrol}/bin/pavucontrol"; format = "{format_source} {icon} {volume}%"; format-bluetooth = "{format_source} {icon} {volume}%";