zaphyra's git: nixfiles

zaphyra's nixfiles

commit 3d4781a6fd22da9c1d7572cd78a82ebd202c397a
parent db1283e2a9ff2b1c3f006c5e24f1ada2413c7452
Author: Katja Ramona Sophie Kwast (zaphyra) <git@zaphyra.eu>
Date: Wed, 30 Jul 2025 20:21:07 +0200

config/home/zaphyra/services/niri: configure more stuff
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/config/home/zaphyra/services/niri.nix b/config/home/zaphyra/services/niri.nix
@@ -37,14 +37,28 @@
       layout = {
         always-center-single-column = true;
         gaps = 15;
+
+        default-column-width = {
+          proportion = 1.0;
+        };
+
         focus-ring = {
           width = 2;
           inactive.color = "rgba(59, 135, 86, .9)";
           active.color = "rgba(74, 169, 108, .9)";
         };
-        tab-indicator.gaps-between-tabs = 10;
-      };
 
+        tab-indicator = {
+          gaps-between-tabs = 10;
+          position = "top";
+        };
+      } // (lib.genAttrs [ "preset-column-widths" "preset-window-heights" ] (name: [
+        { proportion = 1.0; }
+        { proportion = 0.75; }
+        { proportion = 0.5; }
+        { proportion = 1.0 / 3.0; }
+        { proportion = 0.25; }
+      ]));
 
       environment = {
         QT_QPA_PLATFORM = "wayland";