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