Update readme - Before=basic.service

This commit is contained in:
Vladan Popovic 2024-10-06 22:35:42 +02:00
parent 8b3b22432a
commit f1a244178f

View file

@ -6,8 +6,7 @@ Save this service config to `$XDG_CONFIG_HOME/systemd/user/dotfiles.service`:
[Unit]
Description=Stow dotfiles linker
Documentation=man:stow(1)
Before=wayland-session.target
Conflicts=wayland-session.target
Before=basic.target
[Service]
Type=oneshot
@ -20,7 +19,7 @@ ExecStop=/usr/bin/stow --target=%h --delete dotfiles/
WantedBy=default.target
```
(and enable it:)
Update `WorkingDirectory=%h/dev/dotfiles` and enable the service:
```sh
systemctl --user enable --now dotfiles.service