diff --git a/home/roles/i3+sway/default.nix b/home/roles/i3+sway/default.nix index 62ef76c..7ae0a1f 100644 --- a/home/roles/i3+sway/default.nix +++ b/home/roles/i3+sway/default.nix @@ -14,6 +14,7 @@ let keybindings = { "${shared_config.modifier}+Return" = "exec ${terminal}"; + "${shared_config.modifier}+Shift+Return" = "exec ${cfg.browser}"; "${shared_config.modifier}+Shift+q" = "kill"; "${shared_config.modifier}+a" = "focus parent"; @@ -98,6 +99,12 @@ in { options.home.roles.i3_sway = { enable = mkEnableOption "i3 and Sway tiling window managers with waybar and rofi"; + browser = mkOption { + type = types.str; + default = "firefox --new-window"; + description = "Browser to use for new window keybinding"; + }; + extraSharedConfig = mkOption { type = types.attrs; default = {};