diff --git a/install.sh b/install.sh index e9e72779d..c58199e03 100755 --- a/install.sh +++ b/install.sh @@ -27,5 +27,9 @@ fi ##################################################################################### if [[ "${SKIP_ALLFILES}" != true ]]; then printf "${STY_CYAN}[$0]: 3. Copying config files\n${STY_RESET}" - source ./scriptdata/step/3.install-files.sh + if [[ "${EXPERIMENTAL_FILES_SCRIPT}" != true ]]; then + source ./scriptdata/step/3.install-files.sh + else + source ./scriptdata/step/3.install-files.experimental.sh + fi fi diff --git a/scriptdata/lib/options.sh b/scriptdata/lib/options.sh index 0cc278553..f6ef08323 100644 --- a/scriptdata/lib/options.sh +++ b/scriptdata/lib/options.sh @@ -22,6 +22,7 @@ If no option is specified, run default install process. --skip-plasmaintg Skip installing plasma-browser-integration --skip-miscconf Skip copying the dirs and files to \".configs\" except for AGS, Fish and Hyprland + --ex-files Use experimental script for the third step copying files --fontset (Unavailable yet) Use a set of pre-defined font and config --via-nix (Unavailable yet) Use Nix to install dependencies " @@ -34,7 +35,7 @@ cleancache(){ # `man getopt` to see more para=$(getopt \ -o hfk:cs \ - -l help,force,fontset:,clean,skip-allgreeting,skip-alldeps,skip-allsetups,skip-allfiles,skip-sysupdate,skip-fish,skip-hyprland,skip-plasmaintg,skip-miscconf,via-nix \ + -l help,force,fontset:,clean,skip-allgreeting,skip-alldeps,skip-allsetups,skip-allfiles,skip-sysupdate,skip-fish,skip-hyprland,skip-plasmaintg,skip-miscconf,ex-files,via-nix \ -n "$0" -- "$@") [ $? != 0 ] && echo "$0: Error when getopt, please recheck parameters." && exit 1 ##################################################################################### @@ -68,6 +69,7 @@ while true ; do --skip-fish) SKIP_FISH=true;shift;; --skip-miscconf) SKIP_MISCCONF=true;shift;; --skip-plasmaintg) SKIP_PLASMAINTG=true;shift;; + --ex-files) EXPERIMENTAL_FILES_SCRIPT=true;shift;; --via-nix) INSTALL_VIA_NIX=true;shift;; ## Ones with parameter