diff --git a/modules_dentritic/features/desktop/rice/niri.nix b/modules_dentritic/features/desktop/rice/niri.nix index 86ca686..935b1f8 100644 --- a/modules_dentritic/features/desktop/rice/niri.nix +++ b/modules_dentritic/features/desktop/rice/niri.nix @@ -17,8 +17,15 @@ packages.myNiri = inputs.wrapper-modules.wrappers.niri.wrap { inherit pkgs; settings = { - input.keyboard = { - xkb.layout = "fr"; + input = { + keyboard = { + xkb.layout = "fr"; + numlock = {}; + }; + touchpad = { + tap = {}; + natural-scroll = {}; + }; }; layout = { @@ -31,8 +38,13 @@ "Mod+Shift+R".spawn = [ "zen" ]; # Default binds - # Window managment + # Fullscreen managment + "Mod+F".maximize-column = {}; "Mod+Shift+F".fullscreen-window = {}; + "Mod+Ctrl+F".maximize-window-to-edges = {}; # Same effect as double clicking the titlebar + # Floating + "Mod+V".toggle-window-floating = {}; + "Mod+Shift+V".switch-focus-between-floating-and-tiling = {}; # Media managment "XF86AudioPlay".spawn-sh = "playerctl play-pause"; @@ -54,16 +66,27 @@ # Window management # It uses the arrow keys to navigate "Mod+Left".focus-column-left = {}; - "Mod+Down".focus-window-down = {}; - "Mod+Up".focus-window-up = {}; + "Mod+Down".focus-window-or-workspace-down = {}; + "Mod+Up".focus-window-or-workspace-up = {}; "Mod+Right".focus-column-right = {}; # Uses the arrow key with a modifier to move windows "Mod+Ctrl+Left".move-column-left = {}; "Mod+Ctrl+Down".move-window-down-or-to-workspace-down = {}; "Mod+Ctrl+Up".move-window-up-or-to-workspace-up = {}; "Mod+Ctrl+Right".move-column-right = {}; + # Uses the keys to focus extremumns + "Mod+Home".focus-column-first = {}; + "Mod+End".focus-column-last = {}; + "Mod+Ctrl+Home".move-column-to-first = {}; + "Mod+Ctrl+End".move-column-to-last = {}; + # Sceenshots + "Mod+Print".screenshot = {}; + "Mod+Ctrl+Print".screenshot-screen = {}; + "Mod+Alt+Print".screenshot-window = {}; + # Monitor power + "Mod+Shift+P".power-off-monitors = {}; }; xwayland-satellite.path = lib.getExe pkgs.xwayland-satellite;