From aca3b8e0c72207c07686e3de66b57e185e2078e3 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Thu, 25 Jul 2024 20:32:11 -0400 Subject: [PATCH] home/wayland: Super + Tab shows rofi window mode --- homeManagerModules/desktop/hyprland/settings.nix | 1 + homeManagerModules/desktop/sway/settings.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/homeManagerModules/desktop/hyprland/settings.nix b/homeManagerModules/desktop/hyprland/settings.nix index a857b355..abc00b50 100644 --- a/homeManagerModules/desktop/hyprland/settings.nix +++ b/homeManagerModules/desktop/hyprland/settings.nix @@ -43,6 +43,7 @@ in { "$mod,R,exec,${lib.getExe config.programs.rofi.package} -show combi" "$mod,S,togglespecialworkspace,magic" "$mod,T,exec,${lib.getExe cfg.defaultApps.terminal}" + "$mod,Tab,exec,${lib.getExe config.programs.rofi.package} -show window" "$mod,comma,exec,${lib.getExe pkgs.hyprnome} --previous" "$mod,mouse_down,workspace,+1" "$mod,mouse_up,workspace,-1" diff --git a/homeManagerModules/desktop/sway/settings.nix b/homeManagerModules/desktop/sway/settings.nix index cbfaaf56..6f860446 100644 --- a/homeManagerModules/desktop/sway/settings.nix +++ b/homeManagerModules/desktop/sway/settings.nix @@ -100,6 +100,7 @@ in { "${modifier}+Shift+V" = "floating toggle"; "${modifier}+Shift+W" = "fullscreen toggle"; "${modifier}+T" = "exec ${lib.getExe cfg.defaultApps.terminal}"; + "${modifier}+Tab" = "exec ${lib.getExe config.programs.rofi.package} -show window"; "Control+F12" = "exec ${helpers.screenshot}"; "Ctrl+Mod1+M" = "mode move"; "Ctrl+Mod1+R" = "mode resize";