diff --git a/.config/niri/config.kdl b/.config/niri/config.kdl index d08e65d..9363853 100644 --- a/.config/niri/config.kdl +++ b/.config/niri/config.kdl @@ -386,10 +386,13 @@ binds { Mod+Shift+Slash hotkey-overlay-title="Show important bindings" { show-hotkey-overlay; } // Suggested binds for running programs: terminal, app launcher, screen locker. - Mod+Return hotkey-overlay-title="Open terminal: alacritty" { spawn "alacritty"; } // Mod+Shift+Return hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel" "-f" "Ubuntu:weight=regular:size=12" "-w" "60" "-x" "14" "-y" "14" "-b" "#282c34ff" "-t" "#abb2bfff" "-m" "#51afefff" "-s" "#1c1f24ff" "-S" "#abb2bfff" "-M" "#51afefff" "-C" "#51afefff" "-p" "RUN:"; } + Mod+Return hotkey-overlay-title="Open terminal: alacritty" { spawn "alacritty"; } Mod+Shift+Return hotkey-overlay-title="Run launcher: rofi" { spawn "rofi" "-show" "drun" "-show-icons"; } Mod+Alt+Minus hotkey-overlay-title="Lock screen: swaylock" { spawn "swaylock"; } + Mod+E hotkey-overlay-title="Open emacs" { spawn "emacsclient" "-c" "-a" "emacs"; } + Mod+Shift+Q hotkey-overlay-title="Quit out of niri" { quit; } + // Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc. // Note: the entire command goes as a single argument. It's passed verbatim to `sh -c`. @@ -592,10 +595,6 @@ binds { // which ensures niri always processes them, even when an inhibitor is active. Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; } - // The quit action will show a confirmation dialog to avoid accidental exits. - Mod+Shift+E { quit; } - Ctrl+Alt+Delete { quit; } - // Powers off the monitors. To turn them back on, do any input like // moving the mouse or pressing any other key. Mod+Shift+P { power-off-monitors; }