niri hotkeys
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
flake.modules.nixos.niri = { pkgs, lib, ... }:
|
||||
let
|
||||
niriPkg = self.packages.${pkgs.stdenv.hostPlatform.system}.myNiri;
|
||||
terminalPkg = pkgs.ghostty;
|
||||
in
|
||||
{
|
||||
programs.niri = {
|
||||
@@ -29,9 +30,102 @@
|
||||
layout.gaps = 5;
|
||||
|
||||
binds = {
|
||||
"Mod+Return".spawn-sh = lib.getExe pkgs.kitty;
|
||||
# "Mod+Q".close-window = null;
|
||||
"Mod+Return".spawn-sh = lib.getExe terminalPkg;
|
||||
"Mod+Ctrl+Return".spawn-sh = "${lib.getExe noctaliaPkg} ipc call launcher toggle";
|
||||
"Mod+B".spawn-sh = "${lib.getExe pkgs.brave}";
|
||||
"Mod+E".spawn-sh = "xdg-open .";
|
||||
"Mod+Alt+L".spawn-sh = "loginctl lock-session";
|
||||
|
||||
"Mod+Q".close-window = null;
|
||||
"Mod+S".spawn-sh = "${lib.getExe noctaliaPkg} ipc call launcher toggle";
|
||||
|
||||
"Mod+1".focus-workspace = 1;
|
||||
"Mod+2".focus-workspace = 2;
|
||||
"Mod+3".focus-workspace = 3;
|
||||
"Mod+4".focus-workspace = 4;
|
||||
"Mod+5".focus-workspace = 5;
|
||||
"Mod+6".focus-workspace = 6;
|
||||
"Mod+7".focus-workspace = 7;
|
||||
"Mod+8".focus-workspace = 8;
|
||||
"Mod+9".focus-workspace = 9;
|
||||
|
||||
"Mod+Tab".focus-workspace-previous = null;
|
||||
|
||||
"Mod+WheelScrollDown".focus-workspace-down = null;
|
||||
"Mod+WheelScrollUp".focus-workspace-up = null;
|
||||
|
||||
"Mod+Up".focus-window-up = null;
|
||||
"Mod+Down".focus-window-down = null;
|
||||
"Mod+Left".focus-column-left = null;
|
||||
"Mod+Right".focus-column-right = null;
|
||||
"Mod+K".focus-window-up = null;
|
||||
"Mod+J".focus-window-down = null;
|
||||
"Mod+H".focus-column-left = null;
|
||||
"Mod+L".focus-column-right = null;
|
||||
"Mod+Home".focus-column-first = null;
|
||||
"Mod+End".focus-column-last = null;
|
||||
|
||||
"Mod+Shift+Left".focus-monitor-left = null;
|
||||
"Mod+Shift+Right".focus-monitor-right = null;
|
||||
"Mod+Shift+Up".focus-monitor-up = null;
|
||||
"Mod+Shift+Down".focus-monitor-down = null;
|
||||
|
||||
"Mod+Ctrl+1".move-column-to-workspace = 1;
|
||||
"Mod+Ctrl+2".move-column-to-workspace = 2;
|
||||
"Mod+Ctrl+3".move-column-to-workspace = 3;
|
||||
"Mod+Ctrl+4".move-column-to-workspace = 4;
|
||||
"Mod+Ctrl+5".move-column-to-workspace = 5;
|
||||
"Mod+Ctrl+6".move-column-to-workspace = 6;
|
||||
"Mod+Ctrl+7".move-column-to-workspace = 7;
|
||||
"Mod+Ctrl+8".move-column-to-workspace = 8;
|
||||
"Mod+Ctrl+9".move-column-to-workspace = 9;
|
||||
|
||||
"Mod+Ctrl+Up".move-window-up = null;
|
||||
"Mod+Ctrl+Down".move-window-down = null;
|
||||
"Mod+Ctrl+Left".move-column-left = null;
|
||||
"Mod+Ctrl+Right".move-column-right = null;
|
||||
"Mod+Ctrl+K".move-window-up = null;
|
||||
"Mod+Ctrl+J".move-window-down = null;
|
||||
"Mod+Ctrl+H".move-column-left = null;
|
||||
"Mod+Ctrl+L".move-column-right = null;
|
||||
"Mod+Ctrl+Home".move-column-to-first = null;
|
||||
"Mod+Ctrl+End".move-column-to-last = null;
|
||||
|
||||
"Mod+Shift+Ctrl+Left".move-column-to-monitor-left = null;
|
||||
"Mod+Shift+Ctrl+Right".move-column-to-monitor-right = null;
|
||||
"Mod+Shift+Ctrl+Up".move-column-to-monitor-up = null;
|
||||
"Mod+Shift+Ctrl+Down".move-column-to-monitor-down = null;
|
||||
|
||||
"Mod+Ctrl+F".expand-column-to-available-width = null;
|
||||
"Mod+C".center-column = null;
|
||||
"Mod+Ctrl+C".center-visible-columns = null;
|
||||
"Mod+Minus".set-column-width = "-10%";
|
||||
"Mod+Equal".set-column-width = "+10%";
|
||||
"Mod+Shift+Minus".set-window-height = "-10%";
|
||||
"Mod+Shift+Equal".set-window-height = "+10%";
|
||||
|
||||
"Mod+T".toggle-window-floating = null;
|
||||
"Mod+F".fullscreen-window = null;
|
||||
"Mod+W".toggle-column-tabbed-display = null;
|
||||
"Mod+O".toggle-overview = null;
|
||||
|
||||
"Ctrl+Shift+1".screenshot = null;
|
||||
"Ctrl+Shift+2".screenshot-screen = null;
|
||||
"Ctrl+Shift+3".screenshot-window = null;
|
||||
|
||||
"Mod+Shift+Slash".show-hotkey-overlay = null;
|
||||
"Mod+Escape".toggle-keyboard-shortcuts-inhibit = null;
|
||||
"Mod+Shift+P".power-off-monitors = null;
|
||||
"Ctrl+Alt+Delete".quit = null;
|
||||
|
||||
"Mod+WheelScrollRight".focus-column-right = null;
|
||||
"Mod+WheelScrollLeft".focus-column-left = null;
|
||||
"Mod+Ctrl+WheelScrollRight".move-column-right = null;
|
||||
"Mod+Ctrl+WheelScrollLeft".move-column-left = null;
|
||||
"Mod+Shift+WheelScrollDown".focus-column-right = null;
|
||||
"Mod+Shift+WheelScrollUp".focus-column-left = null;
|
||||
"Mod+Ctrl+Shift+WheelScrollDown".move-column-right = null;
|
||||
"Mod+Ctrl+Shift+WheelScrollUp".move-column-left = null;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user