From 7bb0a4bc31333b480f02b798648c53c0fa2f1d80 Mon Sep 17 00:00:00 2001 From: atagen Date: Thu, 14 Aug 2025 13:39:48 +1000 Subject: [PATCH] arbys niri config for now, increase gaps --- graphical/desktop/niri-config.kdl | 2 +- graphical/rice.nix | 2 +- graphical/wm.nix | 9 +++++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/graphical/desktop/niri-config.kdl b/graphical/desktop/niri-config.kdl index 8ef00ca..8b830ca 100755 --- a/graphical/desktop/niri-config.kdl +++ b/graphical/desktop/niri-config.kdl @@ -24,7 +24,7 @@ output "DP-2" { screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png" prefer-no-csd layout { - gaps 32 + gaps 64 struts { left 0 right 0 diff --git a/graphical/rice.nix b/graphical/rice.nix index 57ec2d2..8a554a7 100644 --- a/graphical/rice.nix +++ b/graphical/rice.nix @@ -38,7 +38,7 @@ borders = { thickness = 6; rounding = 0; - gaps = 32; + gaps = 48; }; bg = { diff --git a/graphical/wm.nix b/graphical/wm.nix index 675bf34..c13f221 100644 --- a/graphical/wm.nix +++ b/graphical/wm.nix @@ -16,9 +16,14 @@ ]; # user.desktops.niri = { # enable = true; - # configFile = ./desktop/niri-config.kdl; + # configFile = ./desktop/niri-config.kdl; # }; - user.xdg.config.files."niri/config.kdl".source = ./desktop/niri-config.kdl; + environment.files."/home/${mainUser}/.config/niri/config.kdl" = { + uid = 1000; + gid = 100; + source = "/home/${mainUser}/.nix/graphical/desktop/niri-config.kdl"; + }; + # user.xdg.config.files."niri/config.kdl".source = ./desktop/niri-config.kdl; user.packages = [ inputs.niri.packages.${pkgs.system}.niri-unstable ]; services.greetd = { enable = true;