diff --git a/hosts/pinwheel/modules/waybar/default.nix b/hosts/pinwheel/modules/waybar/default.nix
index 2af24c0..3eeb01f 100644
--- a/hosts/pinwheel/modules/waybar/default.nix
+++ b/hosts/pinwheel/modules/waybar/default.nix
@@ -84,9 +84,10 @@ in
};
wireplumber = {
- format = "{volume}%";
- format-muted = "";
- on-click = "pavucontrol";
+ format = " {volume}%";
+ format-muted = " {volume}%";
+ on-click = "${pkgs.pavucontrol}/bin/pavucontrol";
+ on-click-right = "${pkgs.wireplumber}/bin/wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
max-volume = 150;
scroll-step = 0.2;
};
@@ -97,6 +98,20 @@ in
format-disconnected = "";
tooltip-format-wifi = "{essid} ({signalStrength}%)";
};
+
+ battery = {
+ "interval" = 60;
+ "format" = "{icon} {capacity}%";
+ "format-time" = "{H}h {M}min";
+ "format-charging" =" {capacity}%";
+ "format-icons" = ["" "" "" "" "" "" ];
+ };
+
+ "clock" = {
+ "interval" = 1;
+ "format" = "{:%H:%M:%S}";
+ "format-alt" = "{:%a, %B %d %H:%M:%S}";
+ };
};
};
@@ -128,7 +143,7 @@ in
#workspaces button.active {
color: ${foreground};
background-color: ${background};
- }
+ }
window#waybar {
color: ${foreground};