mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
No more sleep 0
Comment on Discussion When sdata/dist-arch/ Changes / comment_on_discussion (push) Has been cancelled
Comment on Discussion When sdata/dist-arch/ Changes / comment_on_discussion (push) Has been cancelled
This commit is contained in:
@@ -31,7 +31,7 @@ printf "\n"
|
||||
pause
|
||||
|
||||
case $ask in
|
||||
false) sleep 0 ;;
|
||||
false) true ;;
|
||||
*)
|
||||
printf "${STY_BLUE}"
|
||||
printf "${STY_BOLD}Do you want to confirm every time before a command executes?${STY_RST}\n"
|
||||
|
||||
@@ -96,7 +96,7 @@ elif [[ "$OS_GROUP_ID" =~ ^(arch|gentoo|fedora)$ ]]; then
|
||||
printf "${STY_RED}Still proceed?${STY_RST}\n"
|
||||
read -p "[y/N]: " p
|
||||
case "$p" in
|
||||
[yY])sleep 0;;
|
||||
[yY])true;;
|
||||
*)echo "Aborting...";exit 1;;
|
||||
esac
|
||||
fi
|
||||
|
||||
@@ -154,7 +154,7 @@ get_next_backup_number() {
|
||||
|
||||
# Run user preference wizard
|
||||
case "$ask" in
|
||||
false) sleep 0 ;;
|
||||
false) true ;;
|
||||
*) wizard_update_preferences ;;
|
||||
esac
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#####################################################################################
|
||||
# MISC (For dots/.config/* but not quickshell, not fish, not Hyprland, not fontconfig)
|
||||
case "${SKIP_MISCCONF}" in
|
||||
true) sleep 0;;
|
||||
true) true;;
|
||||
*)
|
||||
for i in $(find dots/.config/ -mindepth 1 -maxdepth 1 ! -name 'quickshell' ! -name 'fish' ! -name 'hypr' ! -name 'fontconfig' -exec basename {} \;); do
|
||||
# i="dots/.config/$i"
|
||||
@@ -20,7 +20,7 @@ case "${SKIP_MISCCONF}" in
|
||||
esac
|
||||
|
||||
case "${SKIP_QUICKSHELL}" in
|
||||
true) sleep 0;;
|
||||
true) true;;
|
||||
*)
|
||||
# Should overwriting the whole directory not only ~/.config/quickshell/ii/ cuz https://github.com/end-4/dots-hyprland/issues/2294#issuecomment-3448671064
|
||||
install_dir__sync dots/.config/quickshell "$XDG_CONFIG_HOME"/quickshell
|
||||
@@ -28,14 +28,14 @@ case "${SKIP_QUICKSHELL}" in
|
||||
esac
|
||||
|
||||
case "${SKIP_FISH}" in
|
||||
true) sleep 0;;
|
||||
true) true;;
|
||||
*)
|
||||
install_dir__sync_exclude dots/.config/fish "$XDG_CONFIG_HOME"/fish "conf.d"
|
||||
;;
|
||||
esac
|
||||
|
||||
case "${SKIP_FONTCONFIG}" in
|
||||
true) sleep 0;;
|
||||
true) true;;
|
||||
*)
|
||||
case "$FONTSET_DIR_NAME" in
|
||||
"") install_dir__sync dots/.config/fontconfig "$XDG_CONFIG_HOME"/fontconfig ;;
|
||||
@@ -45,7 +45,7 @@ esac
|
||||
|
||||
# For Hyprland
|
||||
case "${SKIP_HYPRLAND}" in
|
||||
true) sleep 0;;
|
||||
true) true;;
|
||||
*)
|
||||
install_dir__sync dots/.config/hypr/hyprland "$XDG_CONFIG_HOME"/hypr/hyprland
|
||||
if [ -f "${XDG_CONFIG_HOME}/hypr/hyprland.conf" ]; then
|
||||
@@ -57,7 +57,7 @@ case "${SKIP_HYPRLAND}" in
|
||||
done
|
||||
for i in hyprland.lua ; do
|
||||
case "${SKIP_HYPRLAND_ENTRY}" in
|
||||
true) sleep 0;;
|
||||
true) true;;
|
||||
*) install_file "dots/.config/hypr/$i" "${XDG_CONFIG_HOME}/hypr/$i" ;;
|
||||
esac
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user