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 \
|
wrapProgram $out/bin/emacsclient \
|
||||||
--prefix PATH : ${lib.makeBinPath doom-path-pkgs} \
|
--prefix PATH : ${lib.makeBinPath doom-path-pkgs} \
|
||||||
--set DOOMDIR "${config.home.sessionVariables.DOOMDIR}" \
|
--set DOOMDIR "${config.home.sessionVariables.DOOMDIR}" \
|
||||||
--set DOOMLOCALDIR "${config.home.sessionVariables.DOOMLOCALDIR}" \
|
--set DOOMLOCALDIR "${config.home.sessionVariables.DOOMLOCALDIR}"
|
||||||
--set EMACS_SOCKET_NAME "$XDG_RUNTIME_DIR/emacs/${doom-socket-name}"
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
doom-setup = pkgs.writeShellScript "doom-setup" ''
|
doom-setup = pkgs.writeShellScript "doom-setup" ''
|
||||||
@ -87,6 +86,7 @@
|
|||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
doom-open = pkgs.writeShellScriptBin "doom-open" ''
|
doom-open = pkgs.writeShellScriptBin "doom-open" ''
|
||||||
|
export EMACS_SOCKET_NAME="$XDG_RUNTIME_DIR/emacs/${doom-socket-name}"
|
||||||
if [ -t 0 ]; then
|
if [ -t 0 ]; then
|
||||||
exec ${wrapped-emacs}/bin/emacsclient -t "$@"
|
exec ${wrapped-emacs}/bin/emacsclient -t "$@"
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user