All dotfiles managed with gnu stow.
Find a file
Vladan Popovic cc65e333ff Add 'dotfiles/.config/nvim/' from commit 'f173413efff6ab153172f535fafabd7c09316c34'
git-subtree-dir: dotfiles/.config/nvim
git-subtree-mainline: 06fa8fd260
git-subtree-split: f173413eff
2024-09-30 03:24:16 +02:00
dotfiles Add 'dotfiles/.config/nvim/' from commit 'f173413efff6ab153172f535fafabd7c09316c34' 2024-09-30 03:24:16 +02:00
README.md update readme for new layout 2024-09-30 01:47:02 +02:00

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

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

[Unit]
Description=Stow dotfile linker
Documentation=man:stow(1)
Before=wayland-session.target
Conflicts=wayland-session.target

[Service]
Type=oneshot
WorkingDirectory=%h/dev/dotfiles
RemainAfterExit=true
ExecStart=/usr/bin/stow --target=%h --adopt dotfiles/

[Install]
WantedBy=default.target

(and enable it:)

systemctl --user enable --now dotfiles.service