From 63afcc7b2baae2037fe6ad9124f3edb88be60b05 Mon Sep 17 00:00:00 2001 From: Vladan Popovic Date: Mon, 30 Sep 2024 01:47:02 +0200 Subject: [PATCH] update readme for new layout --- README.md | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index ce8aadb..439be0d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Dotfiles config repo (neovim, bash, git, sway ...) -Save this script to $XDG_CONFIG_HOME/systemd/user/dotfiles.service: +Save this service config to $XDG_CONFIG_HOME/systemd/user/dotfiles.service ``` [Unit] @@ -13,28 +13,14 @@ Conflicts=wayland-session.target Type=oneshot WorkingDirectory=%h/dev/dotfiles RemainAfterExit=true -ExecStart=/usr/bin/stow --target=%h bash/ git/ -ExecStart=/usr/bin/stow --target=%h/.config/nvim --adopt nvim/ -ExecStart=/usr/bin/stow --target=%h/.config --adopt sway-all/ -ExecStart=/usr/bin/stow --target=%h/gnupg --adopt gnupg/ -ExecStop=/usr/bin/stow --delete --target=%h bash/ git/ -ExecStop=/usr/bin/stow --delete --target=%h/.config/nvim --adopt nvim/ -ExecStop=/usr/bin/stow --delete --target=%h/.config --adopt sway-all/ -ExecStop=/usr/bin/stow --delete --target=%h/gnupg --adopt gnupg/ +ExecStart=/usr/bin/stow --target=%h --adopt dotfiles/ [Install] WantedBy=default.target ``` -And enable it: +(and enable it:) ```sh systemctl --user enable --now dotfiles.service ``` - ---- -**TODO** - -Make it a single tree, e.g. follow $HOME's hierarchy. - ----