mirror of
https://github.com/nix-community/home-manager
synced 2024-08-21 19:46:30 +02:00
This is to allow adding command-line arguments to the Emacs daemon. Previously only the Emacs client could be started with custom arguments.
14 lines
433 B
Desktop File
14 lines
433 B
Desktop File
[Service]
|
|
ExecStart=@runtimeShell@ -l -c "@emacs@/bin/emacs --fg-daemon='%t/emacs/server' '-f' 'exwm-enable'"
|
|
ExecStartPost=@coreutils@/bin/chmod --changes -w %t/emacs
|
|
ExecStopPost=@coreutils@/bin/chmod --changes +w %t/emacs
|
|
Restart=on-failure
|
|
SuccessExitStatus=15
|
|
Type=notify
|
|
|
|
[Unit]
|
|
Description=Emacs text editor
|
|
Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
|
|
RefuseManualStart=true
|
|
X-RestartIfChanged=false
|