From af7c8c4c02fb207a08337abb0ead5346627e3880 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 18 Feb 2022 09:50:28 -0800 Subject: waybar: a few more adjustments. --- users/fcuny/desktop/sway/waybar.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'users/fcuny') diff --git a/users/fcuny/desktop/sway/waybar.nix b/users/fcuny/desktop/sway/waybar.nix index 1e3035f..eeabe14 100644 --- a/users/fcuny/desktop/sway/waybar.nix +++ b/users/fcuny/desktop/sway/waybar.nix @@ -10,15 +10,16 @@ height = 20; modules-left = ["sway/workspaces" "sway/mode"]; modules-center = ["sway/window"]; - modules-right = [ "network" "pulseaudio" "clock" ]; + modules-right = [ "mpd" "network" "pulseaudio" "battery" "clock" ]; modules = { "network" = { - format-wifi = "{essid} ({signalStrength}%)"; + format-wifi = "{essid}:{signalStrength}%"; format-ethernet = "{ifname}: {ipaddr}"; format-disconnected = "Disconnected"; }; "pulseaudio" = { format = "{volume}%"; + "on-click" = "${pkgs.pavucontrol}/bin/pavucontrol"; }; "clock" = { format = "{:%a %d %b %H:%M}"; -- cgit 1.4.1