Switch to niri - Episode 1: beginnings
This commit is contained in:
parent
d0b7757741
commit
ebaa206a81
14 changed files with 343 additions and 13 deletions
70
modules/desktop-environment/home/niri/binds.nix
Normal file
70
modules/desktop-environment/home/niri/binds.nix
Normal file
|
@ -0,0 +1,70 @@
|
|||
{...}: {
|
||||
programs.niri.settings.binds = {
|
||||
# spawn terminal
|
||||
"Mod+Return".action.spawn = "kitty";
|
||||
"Mod+Return".repeat = false;
|
||||
"Mod+D".action.spawn = ["wofi" "-S" "drun" "--allow-images"];
|
||||
"Mod+D".repeat = false;
|
||||
|
||||
"Mod+Shift+E".action.quit = [];
|
||||
"Mod+Shift+Q".action.close-window = [];
|
||||
|
||||
"Mod+Shift+Slash".action.show-hotkey-overlay = [];
|
||||
|
||||
# window/columns controls
|
||||
"Mod+H".action.focus-column-left = [];
|
||||
"Mod+J".action.focus-window-down = [];
|
||||
"Mod+K".action.focus-window-up = [];
|
||||
"Mod+L".action.focus-column-right = [];
|
||||
"Mod+Ctrl+H".action.move-column-left = [];
|
||||
"Mod+Ctrl+J".action.move-window-down = [];
|
||||
"Mod+Ctrl+K".action.move-window-up = [];
|
||||
"Mod+Ctrl+L".action.move-column-right = [];
|
||||
|
||||
# monitor controls
|
||||
"Mod+Shift+H".action.focus-monitor-left = [];
|
||||
"Mod+Shift+J".action.focus-monitor-down = [];
|
||||
"Mod+Shift+K".action.focus-monitor-up = [];
|
||||
"Mod+Shift+L".action.focus-monitor-right = [];
|
||||
"Mod+Shift+Ctrl+H".action.move-column-to-monitor-left = [];
|
||||
"Mod+Shift+Ctrl+J".action.move-column-to-monitor-down = [];
|
||||
"Mod+Shift+Ctrl+K".action.move-column-to-monitor-up = [];
|
||||
"Mod+Shift+Ctrl+L".action.move-column-to-monitor-right = [];
|
||||
|
||||
# workspace controls
|
||||
"Mod+P".action.focus-workspace-up = [];
|
||||
"Mod+N".action.focus-workspace-down = [];
|
||||
"Mod+Ctrl+P".action.move-column-to-workspace-up = [];
|
||||
"Mod+Ctrl+N".action.move-column-to-workspace-down = [];
|
||||
"Mod+1".action.focus-workspace = 1;
|
||||
"Mod+2".action.focus-workspace = 2;
|
||||
"Mod+3".action.focus-workspace = 3;
|
||||
"Mod+4".action.focus-workspace = 4;
|
||||
"Mod+5".action.focus-workspace = 5;
|
||||
"Mod+6".action.focus-workspace = 6;
|
||||
"Mod+7".action.focus-workspace = 7;
|
||||
"Mod+8".action.focus-workspace = 8;
|
||||
"Mod+9".action.focus-workspace = 9;
|
||||
"Mod+Shift+1".action.move-column-to-workspace = 1;
|
||||
"Mod+Shift+2".action.move-column-to-workspace = 2;
|
||||
"Mod+Shift+3".action.move-column-to-workspace = 3;
|
||||
"Mod+Shift+4".action.move-column-to-workspace = 4;
|
||||
"Mod+Shift+5".action.move-column-to-workspace = 5;
|
||||
"Mod+Shift+6".action.move-column-to-workspace = 6;
|
||||
"Mod+Shift+7".action.move-column-to-workspace = 7;
|
||||
"Mod+Shift+8".action.move-column-to-workspace = 8;
|
||||
"Mod+Shift+9".action.move-column-to-workspace = 9;
|
||||
|
||||
# column editing stuffs
|
||||
"Mod+BracketLeft".action.consume-or-expel-window-left = [];
|
||||
"Mod+BracketRight".action.consume-or-expel-window-right = [];
|
||||
"Mod+F".action.maximize-column = [];
|
||||
"Mod+Shift+F".action.fullscreen-window = [];
|
||||
"Mod+C".action.center-column = [];
|
||||
"Mod+Minus".action.set-column-width = "-5%";
|
||||
"Mod+Equal".action.set-column-width = "+5%";
|
||||
"Mod+Shift+Minus".action.set-window-height = "-10%";
|
||||
"Mod+Shift+Equal".action.set-window-height = "+10%";
|
||||
"Mod+W".action.toggle-column-tabbed-display = [];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue