From ed01d7761369cce5b9b6b22a073b286aa30c5005 Mon Sep 17 00:00:00 2001 From: clsty Date: Sun, 18 Feb 2024 13:34:33 +0800 Subject: [PATCH] Update online script. --- README.md | 7 ++++++- install.sh | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 788bb92ba..cdc00a709 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,12 @@
Instructions - - Installation: see the [Wiki](https://end-4.github.io/dots-hyprland-wiki/en) + - Auto install for Arch(-based) Linux: + ```bash + bash <(curl -s "https://end-4.github.io/dots-hyprland-wiki/setup.sh") + ``` + - Manually install, other distros and more: + - See the [Wiki](https://end-4.github.io/dots-hyprland-wiki/en). - If you'd like to suggest fixes or maybe a new widget, feel free to [open an issue](https://github.com/end-4/dots-hyprland/issues/new/choose)!
diff --git a/install.sh b/install.sh index 2cff4812e..97b1e338d 100755 --- a/install.sh +++ b/install.sh @@ -16,7 +16,7 @@ printf "Please CONFIRM that you HAVE ALREADY BACKED UP \"$HOME/.config/\" and \" printf "\e[97m" printf "Enter capital \"YES\" (without quotes) to continue:" read -p " " p -case $p in "YES")sleep 0;; *)exit;;esac +case $p in "YES")sleep 0;; *)exit 1;;esac printf '\n' printf 'Do you want to confirm every time before a command executes?\n' printf ' y = Yes, ask me before executing each of them. (RECOMMENDED)\n' @@ -152,3 +152,4 @@ try hyprctl reload printf "\e[36m[$0]: Finished. See the \"Import Manually\" folder and grab anything you need.\e[97m\n" printf "\e[36mPress \e[30m\e[46m Ctrl+Super+T \e[0m\e[36m to select a wallpaper\e[97m\n" printf "\e[36mPress \e[30m\e[46m Super+/ \e[0m\e[36m for a list of keybinds\e[97m\n" +echo "See https://end-4.github.io/dots-hyprland-wiki/en for more info."