Hyprland emacs bind use emacsclient but start emacs with server if not running

This commit is contained in:
Evie Litherland-Smith 2024-03-14 10:12:00 +00:00
parent 3c8d395b94
commit 0d56f3596b

View file

@ -279,7 +279,7 @@
# Common program shortcuts # Common program shortcuts
"SUPER, Return, exec, ${alacritty.package}/bin/alacritty" "SUPER, Return, exec, ${alacritty.package}/bin/alacritty"
"SUPER, E, exec, ${emacs.finalPackage}/bin/emacs" ''SUPER, E, exec, ${emacs.finalPackage}/bin/emacsclient -c -a "${emacs.finalPackage}/bin/emacs -f server-start"''
# Rofi binds # Rofi binds
"SUPER, Space, exec, pkill rofi || ${rofi.finalPackage}/bin/rofi -show drun" "SUPER, Space, exec, pkill rofi || ${rofi.finalPackage}/bin/rofi -show drun"