mirror of
https://github.com/adi1090x/rofi
synced 2026-01-20 15:21:16 +01:00
update to use -t and -s respectively
This commit is contained in:
parent
0ce15ccfad
commit
3475382b6b
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue