diff options
Diffstat (limited to 'hm/env/niri/niri.nix')
| -rw-r--r-- | hm/env/niri/niri.nix | 63 |
1 files changed, 55 insertions, 8 deletions
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 = <decoration>; - }; + border.enable = false; focus-ring = { - width = 2; - # active = <decoration>; + 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" ]; } |
