diff --git a/home-manager/modules/hypr/waybar.nix b/home-manager/modules/hypr/waybar.nix index 11f800f..5a41af3 100644 --- a/home-manager/modules/hypr/waybar.nix +++ b/home-manager/modules/hypr/waybar.nix @@ -8,7 +8,7 @@ position = "top"; height = 20; - modules-left = [ "hyprland/workspaces" ]; + modules-left = [ "hyprland/workspaces" "niri/workspaces" ]; modules-center = [ "clock" ]; modules-right = [ "cpu" diff --git a/home-manager/modules/niri-config.kdl b/home-manager/modules/niri-config.kdl index 9f8b4aa..c2e5001 100644 --- a/home-manager/modules/niri-config.kdl +++ b/home-manager/modules/niri-config.kdl @@ -108,9 +108,9 @@ layout { // preset-window-heights { } // You can change the default width of the new windows. - // default-column-width { proportion 0.5; } + default-column-width { proportion 0.5; } // If you leave the brackets empty, the windows themselves will decide their initial width. - default-column-width {} + // default-column-width {}; // By default focus ring and border are rendered as a solid background rectangle // behind windows. That is, they will show up through semitransparent windows. @@ -179,8 +179,6 @@ layout { // which may be more convenient to use. // See the binds section below for more spawn examples. -// This line starts waybar, a commonly used bar for Wayland compositors. -spawn-at-startup "waybar" spawn-at-startup "swayosd-server" spawn-at-startup "hypridle" diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 83ebe31..7bcdefd 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -68,4 +68,5 @@ system.stateVersion = "25.05"; programs.niri.enable = true; + security.polkit.enable = true; } diff --git a/nixos/pkgs.nix b/nixos/pkgs.nix index 486b639..5e6525a 100644 --- a/nixos/pkgs.nix +++ b/nixos/pkgs.nix @@ -84,6 +84,7 @@ hyprshot mako swayosd + xwayland-satellite ]) ++ # Misbehaving packages