From 384d023ead2368df171d53cdd23d14c7051f0e46 Mon Sep 17 00:00:00 2001 From: Vladan Popovic Date: Tue, 1 Oct 2024 21:32:21 +0200 Subject: [PATCH] doc: add ExecStop and fix typo --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c290231..28513bf 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Save this service config to `$XDG_CONFIG_HOME/systemd/user/dotfiles.service`: ``` [Unit] -Description=Stow dotfile linker +Description=Stow dotfiles linker Documentation=man:stow(1) Before=wayland-session.target Conflicts=wayland-session.target @@ -14,6 +14,7 @@ Type=oneshot WorkingDirectory=%h/dev/dotfiles RemainAfterExit=true ExecStart=/usr/bin/stow --target=%h --adopt dotfiles/ +ExecStop=/usr/bin/stow --target=%h --delete dotfiles/ [Install] WantedBy=default.target