diff options
Diffstat (limited to 'modules/desktop/waybar/module')
| -rw-r--r-- | modules/desktop/waybar/module/default.nix | 4 | ||||
| -rw-r--r-- | modules/desktop/waybar/module/workspaces.nix | 16 |
2 files changed, 4 insertions, 16 deletions
diff --git a/modules/desktop/waybar/module/default.nix b/modules/desktop/waybar/module/default.nix index 28ee0ed..b504387 100644 --- a/modules/desktop/waybar/module/default.nix +++ b/modules/desktop/waybar/module/default.nix @@ -18,8 +18,8 @@ let "clock#time" = ./time.nix; "custom/usque" = ./usque.nix; "pulseaudio" = ./volume.nix; - "hyprland/window" = ./window.nix; - "hyprland/workspaces" = ./workspaces.nix; + "niri/window" = ./window.nix; + "niri/workspaces" = ./workspaces.nix; }; in { diff --git a/modules/desktop/waybar/module/workspaces.nix b/modules/desktop/waybar/module/workspaces.nix index e8a12fa..cc34d01 100644 --- a/modules/desktop/waybar/module/workspaces.nix +++ b/modules/desktop/waybar/module/workspaces.nix @@ -6,20 +6,8 @@ }: { format = "{windows} <span rise='-3000' font_size='small'>{id}</span>"; - persistent-workspaces = { - "*" = [ - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - ]; - }; + sort-by-name = true; + all-outputs = false; window-rewrite-default = icons."Default"; window-rewrite = { "class<chromium-browser>" = lib.mkIf config.web.chromium.enable icons."Chromium"; |
