mirror of
https://github.com/adi1090x/rofi.git
synced 2026-02-01 16:40:11 +01:00
shorten flags
This commit is contained in:
parent
3475382b6b
commit
1f261383c3
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user