From 1c68fd4369de1980b7f3c130edee8b0ef67f743c Mon Sep 17 00:00:00 2001 From: Frankie B Date: Wed, 7 Feb 2024 01:40:31 +0000 Subject: Multiple cfg updates * Add hyprpaper config * Remove old monitor configs * Update waybar to use hyprland workspaces * Format waybar * Enable networkmanager * Remove KDE Plasma --- homes/floppydisk/waybar.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'homes/floppydisk/waybar.nix') 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 = [" " " " " " " " " "]; }; -- cgit v1.2.3-54-g00ecf