Commit Graph

7 Commits

Author SHA1 Message Date
3a62a02c3d refactor: reduce code duplication from 1.97% to 0.76%
- Add common.sh library functions: require_imagemagick, install_missing_pacman_packages, handle_arg_help_or_unknown
- Create android.sh shared library for Android utilities
- Create hosts-guard-common.sh for pacman hooks shared functions
- Update multiple scripts to source common.sh and use shared helpers
- Add print_shutdown_schedule helper in setup_midnight_shutdown.sh
- Remove duplicate log(), usage(), install_packages patterns across scripts
- Format all shell scripts with shfmt (2-space indent)
2025-12-11 18:32:15 +01:00
83ceb57f25 style: convert tabs to spaces in shell_check.sh 2025-11-16 21:00:22 +01:00
bf7bebbfef refactor: remove all skip-fmt flags and enforce all checks always 2025-11-16 20:55:39 +01:00
2b83adb0f6 feat: add auto-fix to pre-commit hook with --skip-fmt option 2025-11-16 20:40:34 +01:00
1ffca72ee8 chore: fix shell check issues 2025-11-06 19:39:04 +01:00
42db2c1d44 fix: shellcheck issues 2025-11-01 15:36:22 +01:00
8d2144331e feat: shell check script 2025-11-01 13:50:07 +01:00