diff --git a/files/scripts/powermenu.sh b/files/scripts/powermenu.sh index 282e2bf..2a9862a 100755 --- a/files/scripts/powermenu.sh +++ b/files/scripts/powermenu.sh @@ -16,8 +16,8 @@ theme="style-1" # Parse flags while getopts "t:s:" opt; do case $opt in - t) type="$OPTARG" ;; - s) theme="$OPTARG" ;; + t) type="type-$OPTARG" ;; + s) theme="style-$OPTARG" ;; \?) echo "Invalid option: -$OPTARG" >&2; exit 1 ;; esac done