From 11d05469368ecfe533c7720e7f5b624f2f8f19fc Mon Sep 17 00:00:00 2001 From: adikro Date: Sat, 7 Mar 2026 22:27:05 +0100 Subject: ... --- hm/env/niri/niri.nix | 63 +++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 55 insertions(+), 8 deletions(-) (limited to 'hm/env/niri/niri.nix') diff --git a/hm/env/niri/niri.nix b/hm/env/niri/niri.nix index f8e1542..2274259 100644 --- a/hm/env/niri/niri.nix +++ b/hm/env/niri/niri.nix @@ -57,13 +57,12 @@ in }; layout = { empty-workspace-above-first = true; - border = { - width = 2; - # active = ; - }; + border.enable = false; focus-ring = { - width = 2; - # active = ; + enable = true; + width = 3; + active.color = "#7fc8ff"; + inactive.color = "#505050"; }; preset-column-widths = [ { proportion = 1. / 3.; } @@ -84,17 +83,65 @@ in window-rules = [ { matches = [ - { app-id = "Bitwarden"; } + { app-id = "^Bitwarden$"; } + { app-id = "^org\\.keepassxc\\.KeePassXC$"; } ]; block-out-from = "screen-capture"; } + { + matches = [ + { + app-id = "steam"; + title = "^notificationtoasts_\\d+_desktop$"; + } + ]; + default-floating-position = { + x = 10; + y = 10; + relative-to = "bottom-right"; + }; + } + { + matches = [ { is-window-cast-target = true; } ]; + + focus-ring.active.color = "#f38ba8"; + shadow = { + enable = true; + color = "#7d0d2d70"; + }; + } + { + matches = [ { app-id = "^qalculate-gtk$"; } ]; + open-floating = true; + + # Use default-window-height instead of default-floating-height + default-window-height.fixed = 537; + default-column-width.fixed = 802; + + default-floating-position = { + relative-to = "right"; + x = 100; + y = 0; + }; + } + { + matches = [ { app-id = "^sober$"; } ]; + open-fullscreen = true; + } + ]; + layer-rules = [ + { + matches = [ + { namespace = "^notifications$"; } + ]; + block-out-from = "screencast"; + } ]; gestures.hot-corners.enable = false; spawn-at-startup = [ { command = [ "obs" - "--disable-missing-files-check" "--startreplaybuffer" ]; } -- cgit v1.3