switch to stow

This commit is contained in:
2024-04-23 17:21:25 +01:00
parent 24d3424bbb
commit a88b5e6bff

View File

@@ -3,7 +3,7 @@
source scripts/p.sh source scripts/p.sh
# Install script dependencies # Install script dependencies
p i curl git rcm bat batdiff batman fzf eza zoxide p i curl git stow bat batdiff batman fzf eza zoxide
if [ $(pwd) != "$HOME/dotfiles" ]; then if [ $(pwd) != "$HOME/dotfiles" ]; then
cd $HOME cd $HOME
@@ -11,7 +11,11 @@ if [ $(pwd) != "$HOME/dotfiles" ]; then
cd dotfiles cd dotfiles
fi fi
rcup -d dotfiles echo -e "${GREEN}[+] Symlinking dotfiles...${ENDCOLOR}"
stow -v -t $HOME dotfiles --adopt
git diff
git reset --hard
dconf reset -f / dconf reset -f /
dconf load / < dconf-settings dconf load / < dconf-settings