All dotfiles managed with gnu stow.
Find a file
Vladan Popovic 0c5298af84 change paths and config values for work host
- sway: use wlp* for waybar wifi interfaces
- containers: set home path
- gpg: use pinentry-gnome3
- git: change global user.email
2024-10-14 10:02:21 +02:00
dotfiles change paths and config values for work host 2024-10-14 10:02:21 +02:00
README.md Update readme - Before=basic.service 2024-10-06 22:35:42 +02:00

Dotfiles config repo (neovim, bash, git, sway ...)

Save this service config to $XDG_CONFIG_HOME/systemd/user/dotfiles.service:

[Unit]
Description=Stow dotfiles linker
Documentation=man:stow(1)
Before=basic.target

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

Update WorkingDirectory=%h/dev/dotfiles and enable the service:

systemctl --user enable --now dotfiles.service