diff options
Diffstat (limited to 'homes/floppydisk/waybar.nix')
-rw-r--r-- | homes/floppydisk/waybar.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/homes/floppydisk/waybar.nix b/homes/floppydisk/waybar.nix index 5592c05..194109a 100644 --- a/homes/floppydisk/waybar.nix +++ b/homes/floppydisk/waybar.nix @@ -5,7 +5,7 @@ height = 27; fixed-center = true; modules-left = [ - "wlr/workspaces" + "hyprland/workspaces" "custom/notification" "tray" ]; @@ -50,10 +50,13 @@ escape = true; }; - "wlr/workspaces" = { + "hyprland/workspaces" = { disable-scroll = false; all-outputs = false; format = "{icon}"; + "on-scroll-up" = "hyprctl dispatch workspace e+1"; + "on-scroll-down" = "hyprctl dispatch workspace e-1"; + "on-click" = "activate"; active-only = false; format-icons = { "1" = "I"; @@ -135,8 +138,8 @@ "critical" = 5; }; format = "{icon}{capacity}% "; - format-charging = " {capacity}% "; - format-plugged = " {capacity}% "; + format-charging = " {capacity}%"; + format-plugged = " {capacity}%"; format-alt = "{icon}{time}"; format-icoms = [" " " " " " " " " "]; }; |