Update comment

This commit is contained in:
clsty
2025-11-01 09:22:03 +08:00
parent 835c113416
commit b421691734
2 changed files with 19 additions and 7 deletions
+7 -1
View File
@@ -1,7 +1,13 @@
# This script is meant to be sourced. # This script is meant to be sourced.
# It's not for directly running. # It's not for directly running.
# TODO: https://github.com/end-4/dots-hyprland/issues/2137 # See https://github.com/end-4/dots-hyprland/issues/2137
# TODO: Implement versioning, i.e. when user-defined yaml config file has version number mismatch with the default one, produce error. If only minor version number is not the same, the error can be ommitted via --exp-file-no-strict .
# TODO: Implement user-define yaml with merging (override) ability for user who only wants little customization and is satisfied with most of the defaults.
# TODO: Implement symlink (readable or non-readable) as sync mode
# TODO: Implement --exp-file-reset-symlink to try to remove all symlink in .config and .local, which point to the local repo
# TODO: Update help and doc about `--exp-files` and the yaml config, including the possible values of mode.
# TODO: Support exclude pattern for each target to skip some files inside it.
# Configuration file # Configuration file
CONFIG_FILE="sdata/subcmd-install/3.files.yaml" CONFIG_FILE="sdata/subcmd-install/3.files.yaml"
+12 -6
View File
@@ -27,14 +27,20 @@ Options for install:
Possible values of <set>: $(ls -A ${REPO_ROOT}/dots-extra/fontsets) Possible values of <set>: $(ls -A ${REPO_ROOT}/dots-extra/fontsets)
${STY_CYAN} ${STY_CYAN}
New features (experimental): New features (experimental):
--exp-files Use yaml-based config for the third step copying files. --exp-files Use yaml-based config for the third step copying files.
This feature is ${STY_YELLOW}still on early stage${STY_CYAN}, feedback and contribution welcomed, This feature is ${STY_YELLOW}still on early stage${STY_CYAN},
see https://github.com/end-4/dots-hyprland/issues/2137 for details. feedback and contribution welcomed,
--via-nix Use Nix and Home-manager to install dependencies. see https://github.com/end-4/dots-hyprland/issues/2137 for details.
This feature is ${STY_RED}working in progress${STY_CYAN}. Contribution is welcomed, --via-nix Use Nix and Home-manager to install dependencies.
see https://github.com/end-4/dots-hyprland/issues/1061 for details. This feature is ${STY_RED}working in progress${STY_CYAN}. Contribution is welcomed,
see https://github.com/end-4/dots-hyprland/issues/1061 for details.
${STY_RST}" ${STY_RST}"
} }
# TODO: implement options below for --exp-files
# --exp-files-path <path> Use <path> instead of the default yaml config
# --exp-files-no-strict Ignore error when minor version number is not the same
# --exp-files-regen Force copy the default config to ${EXP_FILE_PATH}
# (auto do this when not existed)
cleancache(){ cleancache(){
rm -rf "${REPO_ROOT}/cache" rm -rf "${REPO_ROOT}/cache"