diff options
author | Frankie B <git@diskfloppy.me> | 2024-02-07 01:40:31 +0000 |
---|---|---|
committer | Frankie B. <git@diskfloppy.me> | 2024-02-07 01:42:25 +0000 |
commit | 1c68fd4369de1980b7f3c130edee8b0ef67f743c (patch) | |
tree | d931a7fd3c05b65c155754647f0516c32960b84a /homes/floppydisk/waybar.nix | |
parent | d666f30475528ce7f50cc3dd92a1693241083fe8 (diff) |
Multiple cfg updates
* Add hyprpaper config
* Remove old monitor configs
* Update waybar to use hyprland workspaces
* Format waybar
* Enable networkmanager
* Remove KDE Plasma
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 = [" " " " " " " " " "]; }; |