From 7cb548eaa1d94b8b52c8f9d044aa51a5d758fd36 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Fri, 20 Mar 2026 17:50:35 +0100 Subject: [PATCH] Fix hypr --- tforgione.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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