I think I finished adding default binds
This commit is contained in:
parent
6d487a6d81
commit
45346153c6
@ -17,8 +17,15 @@
|
|||||||
packages.myNiri = inputs.wrapper-modules.wrappers.niri.wrap {
|
packages.myNiri = inputs.wrapper-modules.wrappers.niri.wrap {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
settings = {
|
settings = {
|
||||||
input.keyboard = {
|
input = {
|
||||||
xkb.layout = "fr";
|
keyboard = {
|
||||||
|
xkb.layout = "fr";
|
||||||
|
numlock = {};
|
||||||
|
};
|
||||||
|
touchpad = {
|
||||||
|
tap = {};
|
||||||
|
natural-scroll = {};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
layout = {
|
layout = {
|
||||||
@ -31,8 +38,13 @@
|
|||||||
"Mod+Shift+R".spawn = [ "zen" ];
|
"Mod+Shift+R".spawn = [ "zen" ];
|
||||||
|
|
||||||
# Default binds
|
# Default binds
|
||||||
# Window managment
|
# Fullscreen managment
|
||||||
|
"Mod+F".maximize-column = {};
|
||||||
"Mod+Shift+F".fullscreen-window = {};
|
"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
|
# Media managment
|
||||||
"XF86AudioPlay".spawn-sh = "playerctl play-pause";
|
"XF86AudioPlay".spawn-sh = "playerctl play-pause";
|
||||||
@ -54,16 +66,27 @@
|
|||||||
# Window management
|
# Window management
|
||||||
# It uses the arrow keys to navigate
|
# It uses the arrow keys to navigate
|
||||||
"Mod+Left".focus-column-left = {};
|
"Mod+Left".focus-column-left = {};
|
||||||
"Mod+Down".focus-window-down = {};
|
"Mod+Down".focus-window-or-workspace-down = {};
|
||||||
"Mod+Up".focus-window-up = {};
|
"Mod+Up".focus-window-or-workspace-up = {};
|
||||||
"Mod+Right".focus-column-right = {};
|
"Mod+Right".focus-column-right = {};
|
||||||
# Uses the arrow key with a modifier to move windows
|
# Uses the arrow key with a modifier to move windows
|
||||||
"Mod+Ctrl+Left".move-column-left = {};
|
"Mod+Ctrl+Left".move-column-left = {};
|
||||||
"Mod+Ctrl+Down".move-window-down-or-to-workspace-down = {};
|
"Mod+Ctrl+Down".move-window-down-or-to-workspace-down = {};
|
||||||
"Mod+Ctrl+Up".move-window-up-or-to-workspace-up = {};
|
"Mod+Ctrl+Up".move-window-up-or-to-workspace-up = {};
|
||||||
"Mod+Ctrl+Right".move-column-right = {};
|
"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;
|
xwayland-satellite.path = lib.getExe pkgs.xwayland-satellite;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user