update readme for new layout

This commit is contained in:
Vladan Popovic 2024-09-30 01:47:02 +02:00
parent 1033ffc861
commit 63afcc7b2b

View file

@ -1,6 +1,6 @@
# Dotfiles config repo (neovim, bash, git, sway ...) # 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] [Unit]
@ -13,28 +13,14 @@ Conflicts=wayland-session.target
Type=oneshot Type=oneshot
WorkingDirectory=%h/dev/dotfiles WorkingDirectory=%h/dev/dotfiles
RemainAfterExit=true RemainAfterExit=true
ExecStart=/usr/bin/stow --target=%h bash/ git/ ExecStart=/usr/bin/stow --target=%h --adopt dotfiles/
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/
[Install] [Install]
WantedBy=default.target WantedBy=default.target
``` ```
And enable it: (and enable it:)
```sh ```sh
systemctl --user enable --now dotfiles.service systemctl --user enable --now dotfiles.service
``` ```
---
**TODO**
Make it a single tree, e.g. follow $HOME's hierarchy.
---