Commit 87eaad3
Changed files (3)
modules
desktop
shell
niri
appearance
modules/desktop/shell/niri/appearance/layout.nix
@@ -0,0 +1,20 @@
+{
+ flake.modules.homeManager.niri = _: let
+ in {
+ programs.niri.settings.layout = {
+ gaps = 10;
+ focus-ring = {
+ enable = true;
+ width = 2;
+ active.color = "#8bd5ca"; # Catppuccin Macchiato Teal
+ };
+ preset-column-widths = [
+ {proportion = 1.0 / 3.0;}
+ {proportion = 1.0 / 2.0;}
+ {proportion = 2.0 / 3.0;}
+ ];
+ default-column-width.proportion = 1.0 / 2.0;
+ always-center-single-column = true;
+ };
+ };
+}
modules/desktop/shell/niri/appearance/theme.nix
@@ -1,9 +1,5 @@
{lib, ...}: {
- flake.modules.homeManager.niri = {
- pkgs,
- config,
- ...
- }: let
+ flake.modules.homeManager.niri = {pkgs, ...}: let
whitesur-icon-theme = pkgs.whitesur-icon-theme.override {
boldPanelIcons = true;
alternativeIcons = true;
@@ -39,9 +35,5 @@
home.sessionVariables = {
XDG_ICON_DIR = "${whitesur-icon-theme}/share/icons/WhiteSur";
};
-
- programs.dankMaterialShell.settings = {
- currentThemeName = "cat-${config.catppuccin.accent}";
- };
};
}
modules/desktop/shell/niri/appearance/window-rules.nix
@@ -4,7 +4,9 @@
# Corner radius for all windows
{
clip-to-geometry = true;
- geometry-corner-radius = lib.genAttrs ["bottom-left" "bottom-right" "top-left" "top-right"] (_: 15.0);
+ geometry-corner-radius = lib.genAttrs ["bottom-left" "bottom-right" "top-left" "top-right"] (_: 10.0);
+ tiled-state = true;
+ draw-border-with-background = false;
}
];
};