diff --git a/modules/desktop-environment/home/niri/binds.nix b/modules/desktop-environment/home/niri/binds.nix index 35e5895..d4eba4f 100644 --- a/modules/desktop-environment/home/niri/binds.nix +++ b/modules/desktop-environment/home/niri/binds.nix @@ -8,6 +8,7 @@ "Mod+Shift+E".action.quit = []; "Mod+Shift+Q".action.close-window = []; + "Mod+Shift+P".action.power-off-monitors = []; "Mod+Shift+Slash".action.show-hotkey-overlay = []; @@ -20,6 +21,10 @@ "Mod+Ctrl+J".action.move-window-down = []; "Mod+Ctrl+K".action.move-window-up = []; "Mod+Ctrl+L".action.move-column-right = []; + "Mod+R".action.switch-preset-column-width = []; + + "Mod+V".action.toggle-window-floating = []; + "Mod+Shift+V".action.switch-focus-between-floating-and-tiling = []; # monitor controls "Mod+Shift+H".action.focus-monitor-left = []; diff --git a/modules/desktop-environment/home/niri/input.nix b/modules/desktop-environment/home/niri/input.nix index 9d8ca1f..25760b3 100644 --- a/modules/desktop-environment/home/niri/input.nix +++ b/modules/desktop-environment/home/niri/input.nix @@ -7,8 +7,10 @@ }; }; touchpad = { - tap = true; + tap = false; natural-scroll = true; + dwt = true; + dwtp = true; }; }; } diff --git a/modules/desktop-environment/home/niri/style.nix b/modules/desktop-environment/home/niri/style.nix index 0511b67..bb4dec9 100644 --- a/modules/desktop-environment/home/niri/style.nix +++ b/modules/desktop-environment/home/niri/style.nix @@ -41,7 +41,19 @@ }; }; - window-rules = [{ + window-rules = [ + { + matches = [{ + is-floating = true; + }]; + shadow = { + softness = 40; + color = "#bab9e5af"; + inactive-color = "#fa9d99af"; + enable = true; + }; + } + { geometry-corner-radius = let val = 1.; in { bottom-left = val; bottom-right = val;