1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-02 23:21:02 +01:00

emacs: extend startWithUserSession to start after graphical session (#3010)

This commit is contained in:
Jian Lin 2023-05-11 19:58:37 +08:00 committed by GitHub
parent fa720861b5
commit f714b17031
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 75 additions and 6 deletions

View file

@ -0,0 +1,15 @@
[Install]
WantedBy=graphical-session.target
[Service]
ExecStart=@runtimeShell@ -l -c "@emacs@/bin/emacs --fg-daemon '-f' 'exwm-enable'"
Restart=on-failure
SuccessExitStatus=15
Type=notify
[Unit]
After=graphical-session.target
Description=Emacs text editor
Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
PartOf=graphical-session.target
X-RestartIfChanged=false