From 3475382b6b338d68083cd4e725575ccd2148efa2 Mon Sep 17 00:00:00 2001 From: James Dyke Date: Fri, 2 Jan 2026 13:40:08 +0100 Subject: [PATCH] update to use -t and -s respectively --- files/scripts/powermenu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/scripts/powermenu.sh b/files/scripts/powermenu.sh index f4247d9..282e2bf 100755 --- a/files/scripts/powermenu.sh +++ b/files/scripts/powermenu.sh @@ -14,10 +14,10 @@ type="type-1" theme="style-1" # Parse flags -while getopts "t:T:" opt; do +while getopts "t:s:" opt; do case $opt in t) type="$OPTARG" ;; - T) theme="$OPTARG" ;; + s) theme="$OPTARG" ;; \?) echo "Invalid option: -$OPTARG" >&2; exit 1 ;; esac done