mirror of
https://github.com/adi1090x/rofi.git
synced 2026-05-03 12:03:10 +02:00
shorten flags
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user