aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/niri/default.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@gmail.com>2026-09-18 23:26:17 +0530
committerArpit Chakladar <arpitchakladar@gmail.com>2026-09-18 23:26:17 +0530
commit6b0161b2639bb49e270754e90f4f8a47311c5198 (patch)
treefc0f4a138b311061daad5ddeb6ed50314f1f5a1a /modules/desktop/niri/default.nix
parent53eac37422f77750adbc801f71b85ab04cf2b7f9 (diff)
downloadhome-manager-config-6b0161b2639bb49e270754e90f4f8a47311c5198.tar.gz
home-manager-config-6b0161b2639bb49e270754e90f4f8a47311c5198.zip
chore: projectwide refactoring
- Using more consistent naming conventions across the project. Using java style super descriptive variable names. - Removed slop comments in favor of using more descriptive naming conventions.
Diffstat (limited to 'modules/desktop/niri/default.nix')
-rw-r--r--modules/desktop/niri/default.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/desktop/niri/default.nix b/modules/desktop/niri/default.nix
index b13cdf4..9b0b160 100644
--- a/modules/desktop/niri/default.nix
+++ b/modules/desktop/niri/default.nix
@@ -1,9 +1,13 @@
+# Niri scrollable-tiling Wayland compositor and desktop essentials
{
config,
lib,
pkgs,
...
}:
+let
+ base16Colors = import ../../colors/base16 { inherit config lib pkgs; };
+in
{
imports = [ ./keybindings.nix ];
@@ -64,7 +68,7 @@
x11.enable = true;
};
- wayland.windowManager.niri.settings = {
+ wayland.windowManager.niri.settings = with base16Colors.colorsWithHashPrefix; {
hotkey-overlay = {
skip-at-startup = { };
};
@@ -94,8 +98,8 @@
background-color = "transparent";
focus-ring = {
width = 1;
- active-color = config.scheme.withHashtag.base07;
- inactive-color = config.scheme.withHashtag.base03;
+ active-color = base07;
+ inactive-color = base03;
};
border.off = { };
shadow.off = { };