home/programs/niri: add browser bind

This commit is contained in:
Anthony Rodriguez 2024-10-22 00:06:05 +02:00
parent 6c0003aa0b
commit 373ab1c398
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -6,11 +6,13 @@
}: let }: let
appLauncher = "fuzzel"; appLauncher = "fuzzel";
terminal = "foot"; terminal = "foot";
browser = "firefox";
prefix = "Alt"; prefix = "Alt";
in { in {
programs.niri.settings.binds = { programs.niri.settings.binds = {
"${prefix}+D".action.spawn = appLauncher; "${prefix}+D".action.spawn = appLauncher;
"${prefix}+Return".action.spawn = terminal; "${prefix}+Return".action.spawn = terminal;
"${prefix}+W".action.spawn = browser;
"${prefix}+Shift+E".action.quit.skip-confirmation = true; "${prefix}+Shift+E".action.quit.skip-confirmation = true;
"${prefix}+Shift+Slash".action = config.lib.niri.actions.show-hotkey-overlay; "${prefix}+Shift+Slash".action = config.lib.niri.actions.show-hotkey-overlay;
"${prefix}+Q".action = config.lib.niri.actions.close-window; "${prefix}+Q".action = config.lib.niri.actions.close-window;