diff --git a/install.sh b/install.sh index a146a83..dd625ed 100755 --- a/install.sh +++ b/install.sh @@ -6,6 +6,8 @@ set -e trap "printf \"\nOk, quitting beacuse you entered an exit signal. (SIGINT).\n\"; exit 1" SIGINT trap "printf \"\nOh noo!! Some application just killed the script!\"; exit 2" SIGTERM +XDG_CONFIG_HOME=$(sh -c '[[ ! -z "$XDG_CONFIG_HOME" ]] && echo "$XDG_CONFIG_HOME" || "$HOME/.config"') + function Apply_wallpapers() { echo -n "Would you also like to apply the wallpapers folder? :3 [y/n] " read answer