install: better link install

Remove links if not already linked before linking
This commit is contained in:
2 * r + 2 * t
2025-02-23 21:23:34 +11:00
parent 557e1e4abe
commit fd14efb773
6 changed files with 16 additions and 13 deletions
+1 -2
View File
@@ -25,8 +25,7 @@ else
end
# Install uwsm envs
confirm-overwrite $uwsm
ln -s $hypr/uwsm $uwsm
install-link $hypr/uwsm $uwsm
# Enable ydotool if installed
pacman -Q ydotool &> /dev/null && systemctl --user enable --now ydotool.service