Re-enable emacs server using proper environment for doom
This commit is contained in:
parent
7d31bf8b54
commit
bf49473b9d
|
@ -6,7 +6,15 @@ let
|
|||
};
|
||||
in {
|
||||
xdg.configFile.emacs.source = doom-emacs;
|
||||
systemd.user = { inherit sessionVariables; };
|
||||
programs.emacs.enable = true;
|
||||
services.emacs = {
|
||||
enable = true;
|
||||
package = config.programs.emacs.package;
|
||||
defaultEditor = true;
|
||||
client.enable = true;
|
||||
socketActivation.enable = true;
|
||||
};
|
||||
home = {
|
||||
inherit sessionVariables;
|
||||
sessionPath = [ "$HOME/.config/emacs/bin" "$HOME/.emacs.d/bin" ];
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
bind = SUPER SHIFT, P, exec, pkill rofi || rofi -show power-menu
|
||||
|
||||
# Common program shortcuts
|
||||
bind = SUPER, E, exec, emacs
|
||||
bind = SUPER, E, exec, emacsclient -c
|
||||
bind = SUPER, B, exec, pkill rofi || rofi -show filebrowser
|
||||
bind = SUPER, Space, exec, pkill rofi || rofi -show combi
|
||||
bind = SUPER, Return, exec, alacritty
|
||||
|
|
Loading…
Reference in a new issue