mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-02-22 12:55:33 +08:00
update niri; recent window config
This commit is contained in:
parent
738aa39ae3
commit
af6bed391c
2 changed files with 45 additions and 16 deletions
|
|
@ -3,7 +3,36 @@ with config.lib.stylix.colors.withHashtag;
|
|||
let
|
||||
extraConfig =
|
||||
# kdl
|
||||
'''';
|
||||
''
|
||||
recent-windows {
|
||||
// off
|
||||
open-delay-ms 150
|
||||
|
||||
highlight {
|
||||
active-color "${base0E}aa"
|
||||
urgent-color "${base08}aa"
|
||||
padding 30
|
||||
corner-radius 20
|
||||
}
|
||||
|
||||
previews {
|
||||
max-height 480
|
||||
max-scale 0.5
|
||||
}
|
||||
|
||||
binds {
|
||||
Alt+Tab { next-window; }
|
||||
Alt+Shift+Tab { previous-window; }
|
||||
Alt+grave { next-window filter="app-id"; }
|
||||
Alt+Shift+grave { previous-window filter="app-id"; }
|
||||
|
||||
Mod+Tab { next-window; }
|
||||
Mod+Shift+Tab { previous-window; }
|
||||
Mod+grave { next-window filter="app-id"; }
|
||||
Mod+Shift+grave { previous-window filter="app-id"; }
|
||||
}
|
||||
}
|
||||
'';
|
||||
finalNiriConfig =
|
||||
builtins.replaceStrings
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue