diff options
author | Raúl Benencia <id@rbenencia.name> | 2023-05-20 08:29:08 -0700 |
---|---|---|
committer | Raúl Benencia <id@rbenencia.name> | 2023-05-20 08:29:08 -0700 |
commit | 97eb0f08463c9a749dd418898808b8cddd63b26c (patch) | |
tree | c3f3b6052f29d77e5e5f8928b6fd870d269d5ef9 | |
parent | 8a7e8b2727e6f2ffd75864cfd3d116e719bdaf42 (diff) |
systemd: stop emacs cleanly
-rw-r--r-- | .config/systemd/user/emacs.service.d/override.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/systemd/user/emacs.service.d/override.conf b/.config/systemd/user/emacs.service.d/override.conf index d250657..f471fa9 100644 --- a/.config/systemd/user/emacs.service.d/override.conf +++ b/.config/systemd/user/emacs.service.d/override.conf @@ -1,2 +1,5 @@ [Unit] Requires=graphical-session.target + +[Service] +ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)" |