general upgrades and adds adb and ulauncher addon

This commit is contained in:
2024-11-21 16:52:06 +01:00
parent c0ab3d1517
commit 0b523463f2
13 changed files with 58 additions and 47 deletions

View File

@ -28,6 +28,15 @@ update() {
"$update_script" $@
}
upgrade() {
local upgrade_script="$DOTFILES_BIN/actions/upgrade.sh"
if [[ ! -x "$upgrade_script" ]]; then
printfe "%s\n" "red" "Error: Upgrade script not found or not executable"
return 1
fi
"$upgrade_script" $@
}
term() {
local term_script="$DOTFILES_BIN/actions/term.sh"
if [[ ! -x "$term_script" ]]; then
@ -114,6 +123,7 @@ main() {
# Parse commands
case "${1:-help}" in
update) shift; update "$@" ;;
upgrade) shift; upgrade "$@" ;;
help) shift; help "$@" ;;
term) shift; term "$@" ;;
secrets) shift; secrets "$@" ;;