aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/waybar/module
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-08-24 04:47:45 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-08-29 03:50:29 +0530
commit0bf2f48b23b34c61729618ec1643c18d9a61ce78 (patch)
tree11b0444084f6d12ad80d93eb12e4fd04a6d6a9f7 /modules/desktop/waybar/module
parentd1e9362085cb9564ff7323cef1612d48b16eb40d (diff)
downloadhome-manager-config-0bf2f48b23b34c61729618ec1643c18d9a61ce78.tar.gz
home-manager-config-0bf2f48b23b34c61729618ec1643c18d9a61ce78.zip
desktop: switched to niri from hyprland
- window manager hopping now goes to niri from hyprland - added niri configuration closely resembling the keybindings and visual appearence as before - updated all other modules like waybar to use niri instead of hyprland
Diffstat (limited to 'modules/desktop/waybar/module')
-rw-r--r--modules/desktop/waybar/module/default.nix4
-rw-r--r--modules/desktop/waybar/module/workspaces.nix16
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";