Update readme - Before=basic.service
This commit is contained in:
parent
8b3b22432a
commit
f1a244178f
1 changed files with 2 additions and 3 deletions
|
@ -6,8 +6,7 @@ Save this service config to `$XDG_CONFIG_HOME/systemd/user/dotfiles.service`:
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Stow dotfiles linker
|
Description=Stow dotfiles linker
|
||||||
Documentation=man:stow(1)
|
Documentation=man:stow(1)
|
||||||
Before=wayland-session.target
|
Before=basic.target
|
||||||
Conflicts=wayland-session.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
@ -20,7 +19,7 @@ ExecStop=/usr/bin/stow --target=%h --delete dotfiles/
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
```
|
```
|
||||||
|
|
||||||
(and enable it:)
|
Update `WorkingDirectory=%h/dev/dotfiles` and enable the service:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
systemctl --user enable --now dotfiles.service
|
systemctl --user enable --now dotfiles.service
|
||||||
|
|
Loading…
Reference in a new issue