Compare commits

...

2 Commits

Author SHA1 Message Date
Alexandre
79998545b2 Added screenshot path
All checks were successful
Check config / build (push) Successful in 49s
2026-07-09 22:20:28 +02:00
Alexandre
45346153c6 I think I finished adding default binds 2026-07-09 12:51:50 +02:00

View File

@ -17,8 +17,16 @@
packages.myNiri = inputs.wrapper-modules.wrappers.niri.wrap {
inherit pkgs;
settings = {
input.keyboard = {
xkb.layout = "fr";
screenshot-path = "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png";
input = {
keyboard = {
xkb.layout = "fr";
numlock = {};
};
touchpad = {
tap = {};
natural-scroll = {};
};
};
layout = {
@ -31,8 +39,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 +67,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 <home/end> 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;