aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd')
-rw-r--r--.config/systemd/user/emacs.service.d/override.conf3
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)"
nihil fit ex nihilo