diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-18 09:50:28 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-18 09:50:28 -0800 |
commit | af7c8c4c02fb207a08337abb0ead5346627e3880 (patch) | |
tree | b694ca5a40799760549ff94c3494c3f31d84b0f9 /users | |
parent | boot: fix the prefix (diff) | |
download | world-af7c8c4c02fb207a08337abb0ead5346627e3880.tar.gz |
waybar: a few more adjustments.
Diffstat (limited to '')
-rw-r--r-- | users/fcuny/desktop/sway/waybar.nix | 5 |
1 files changed, 3 insertions, 2 deletions
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}"; |