diff --git a/hyprland.sh b/hyprland.sh index 57f95bc..0b02169 100644 --- a/hyprland.sh +++ b/hyprland.sh @@ -56,6 +56,11 @@ askThings() { pen grey "$terminal was picked" line + removeUnwanted=false + if confirm "Do you want to also remove conflicting packages?"; then + removeUnwanted=true + fi + advDeps=( "${menu:-rofi}" "${terminal:-foot}" @@ -71,22 +76,22 @@ instCustom() { case "$_d" in hyprpanel | hyprlock | hyprshot | gBar | rofi | swww) # eval "$(curl -fsSL https://git.k4li.de/scripts/installs/raw/branch/main/hyprpanel.sh)" - source_script https://git.k4li.de/scripts/installs/raw/branch/main/$_d.sh + source-script https://git.k4li.de/scripts/installs/raw/branch/main/$_d.sh ;; # hyprlock) - # source_script https://git.k4li.de/scripts/installs/raw/branch/main/hyprlock.sh + # source-script https://git.k4li.de/scripts/installs/raw/branch/main/hyprlock.sh # ;; # hyprshot) - # source_script https://git.k4li.de/scripts/installs/raw/branch/main/hyprshot.sh + # source-script https://git.k4li.de/scripts/installs/raw/branch/main/hyprshot.sh # ;; # gBar) - # source_script https://git.k4li.de/scripts/installs/raw/branch/main/gBar.sh + # source-script https://git.k4li.de/scripts/installs/raw/branch/main/gBar.sh # ;; # rofi) - # source_script https://git.k4li.de/scripts/installs/raw/branch/main/rofi.sh + # source-script https://git.k4li.de/scripts/installs/raw/branch/main/rofi.sh # ;; # swww) - # source_script https://git.k4li.de/scripts/installs/raw/branch/main/swww.sh + # source-script https://git.k4li.de/scripts/installs/raw/branch/main/swww.sh # ;; none) return @@ -124,6 +129,8 @@ cloneDotfiles() { pen blue bold "Dotfiles installed successfully!" ;; own) + pen bold red "Warning: This does only clone the dotfiles into $HOME/dotfiles, you have to install them yourself!" + lin request customDots "Type in the url of your hyprland dotfiles:" ─────────────────────────────────────────────────────────────────── unset PACKAGE