From 0d56f3596b44ef05b7c87ea5102cd05c338e5adf Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 14 Mar 2024 10:12:00 +0000 Subject: [PATCH] Hyprland emacs bind use emacsclient but start emacs with server if not running --- home/hyprland/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 2f477647..e509cc2d 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -279,7 +279,7 @@ # Common program shortcuts "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 "SUPER, Space, exec, pkill rofi || ${rofi.finalPackage}/bin/rofi -show drun"