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:
parent
fa720861b5
commit
f714b17031
4 changed files with 75 additions and 6 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue