Don't bind emacs and firefox by default, but add keybinds to open on set workspaces

Add workspace rule for teams
This commit is contained in:
Evie Litherland-Smith 2024-03-15 11:05:28 +00:00
parent 1c9ba2626e
commit 4852cf80cb

View file

@ -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"