Add subcmd virtmon (WIP)

This commit is contained in:
clsty
2025-11-12 17:11:14 +08:00
parent efcb826f5c
commit f2cd533ae9
3 changed files with 48 additions and 1 deletions
+2 -1
View File
@@ -34,6 +34,7 @@ Subcommands:
exp-update-old (Experimental) exp-update but use behaves like old version.
checkdeps (For dev only) Check whether pkgs exist in AUR or repos of Arch.
virtmon (For dev only, WIP) Create virtual monitors for testing multi-monitors.
help Show this help message.
For each <subcommand>, use -h for details:
@@ -46,7 +47,7 @@ case $1 in
# Global help
""|help|--help|-h)showhelp_global;exit;;
# Correct subcommand
install|exp-uninstall|exp-update|exp-update-old|checkdeps)
install|exp-uninstall|exp-update|exp-update-old|checkdeps|virtmon)
SUBCMD_NAME=$1
SUBCMD_DIR=./sdata/subcmd-$1
shift;;