Change emacs --fg-daemon for opening emacs on editor workspace and

starting server
This commit is contained in:
Evie Litherland-Smith 2024-01-18 06:46:24 +00:00
parent 3be362dccb
commit ab2673fd0b

View file

@ -108,8 +108,7 @@ in ''
# Common program shortcuts # Common program shortcuts
bind = SUPER, Space, exec, rofi -replace -show combi bind = SUPER, Space, exec, rofi -replace -show combi
bind = SUPER, Return, exec, foot bind = SUPER, Return, exec, foot
bind = SUPER SHIFT, Return, exec, [float] foot bind = SUPER, X, exec, emacsclient -c -a "emacs -f server-start"
bind = SUPER, X, exec, emacsclient -c
# Misc useful binds # Misc useful binds
bind=,Print,exec,grim -g "$(slurp)" bind=,Print,exec,grim -g "$(slurp)"
@ -255,9 +254,9 @@ in ''
bindm = SUPER, mouse:272, movewindow bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow bindm = SUPER, mouse:273, resizewindow
exec-once = emacs --fg-daemon
exec-once = swaync exec-once = swaync
exec-once = ${pkgs.hyprpaper}/bin/hyprpaper exec-once = ${pkgs.hyprpaper}/bin/hyprpaper
exec-once = ${pkgs.dex}/bin/dex --autostart exec-once = ${pkgs.dex}/bin/dex --autostart
exec-once = [workspace name:btm silent] foot -e btm --group --battery exec-once = [workspace name:btm silent] foot -e btm --group --battery
exec-once = [workspace name:editor silent] emacs -f server-start
'' ''