about summary refs log tree commit diff
path: root/users/fcuny/desktop
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-18 09:50:28 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-18 09:50:28 -0800
commitaf7c8c4c02fb207a08337abb0ead5346627e3880 (patch)
treeb694ca5a40799760549ff94c3494c3f31d84b0f9 /users/fcuny/desktop
parentboot: fix the prefix (diff)
downloadworld-af7c8c4c02fb207a08337abb0ead5346627e3880.tar.gz
waybar: a few more adjustments.
Diffstat (limited to 'users/fcuny/desktop')
-rw-r--r--users/fcuny/desktop/sway/waybar.nix5
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}";