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] [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