From 4852cf80cb225cf905f1f3574049fd5aeceb3654 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 15 Mar 2024 11:05:28 +0000 Subject: [PATCH] Don't bind emacs and firefox by default, but add keybinds to open on set workspaces Add workspace rule for teams --- home/hyprland/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index cb0cc079..9a6e9500 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -196,9 +196,8 @@ ++ (lib.lists.forEach layers ignorealpha); windowrule = [ # Workspace binds - "workspace 2 silent, firefox" "workspace 3 silent, (libreoffice|soffice)(.*)" - "workspace 4 silent, (WebCord|signal|whatsapp-for-linux)" + "workspace 4 silent, (WebCord|signal|whatsapp-for-linux|teams-for-linux)" "workspace 5 silent, steam" # Float + move system windows @@ -278,7 +277,9 @@ # Common program shortcuts "SUPER, Return, exec, ${alacritty.package}/bin/alacritty" - ''SUPER, E, exec, ${emacs.finalPackage}/bin/emacsclient -c -a "${emacs.finalPackage}/bin/emacs -f server-start"'' + "SUPER SHIFT, Return, exec, [float] ${alacritty.package}/bin/alacritty" + ''SUPER, E, exec, [workspace 1] ${emacs.finalPackage}/bin/emacsclient -c -a "${emacs.finalPackage}/bin/emacs -f server-start"'' + "SUPER, W, exec, [workspace 2] ${pkgs.firefox}/bin/firefox" # Rofi binds "SUPER, Space, exec, pkill rofi || ${rofi.finalPackage}/bin/rofi -show drun"