Home Gen14 @ 2025-10-21-17:28 by admin-jroeger@T14-OE130-7-ubuntu
This commit is contained in:
parent
be9de4973e
commit
203486d20b
@ -71,8 +71,7 @@
|
||||
wrapProgram $out/bin/emacsclient \
|
||||
--prefix PATH : ${lib.makeBinPath doom-path-pkgs} \
|
||||
--set DOOMDIR "${config.home.sessionVariables.DOOMDIR}" \
|
||||
--set DOOMLOCALDIR "${config.home.sessionVariables.DOOMLOCALDIR}" \
|
||||
--set EMACS_SOCKET_NAME "$XDG_RUNTIME_DIR/emacs/${doom-socket-name}"
|
||||
--set DOOMLOCALDIR "${config.home.sessionVariables.DOOMLOCALDIR}"
|
||||
'';
|
||||
};
|
||||
doom-setup = pkgs.writeShellScript "doom-setup" ''
|
||||
@ -87,6 +86,7 @@
|
||||
fi
|
||||
'';
|
||||
doom-open = pkgs.writeShellScriptBin "doom-open" ''
|
||||
export EMACS_SOCKET_NAME="$XDG_RUNTIME_DIR/emacs/${doom-socket-name}"
|
||||
if [ -t 0 ]; then
|
||||
exec ${wrapped-emacs}/bin/emacsclient -t "$@"
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user