diff --git a/tforgione.sh b/tforgione.sh index 8ec9ca1..b4b5e5f 100755 --- a/tforgione.sh +++ b/tforgione.sh @@ -421,11 +421,15 @@ run() { # Configure hyprland if [ $should_install_hyprland -eq 1 ]; then - ln -s $HOME/.config/dotfiles/hypr $HOME/.config/hypr - ln -s $HOME/.config/dotfiles/hypr/waybar $HOME/.config/waybar - touch $HOME/.config/dotfiles/hypr/exec-once.conf - touch $HOME/.config/dotfiles/hypr/monitors.conf + if [ ! -d $HOME/.config/hypr ]; then + git clone https://gitea.tforgione.fr/tforgione/hypr + fi + + ln -s $HOME/.config/hypr/waybar $HOME/.config/waybar + + touch $HOME/.config/hypr/exec-once.conf + touch $HOME/.config/hypr/monitors.conf fi # Configure neovim