mirror of
https://github.com/adi1090x/rofi.git
synced 2026-02-01 16:40:11 +01:00
update to use -t and -s respectively
This commit is contained in:
parent
0ce15ccfad
commit
3475382b6b
@ -14,10 +14,10 @@ type="type-1"
|
|||||||
theme="style-1"
|
theme="style-1"
|
||||||
|
|
||||||
# Parse flags
|
# Parse flags
|
||||||
while getopts "t:T:" opt; do
|
while getopts "t:s:" opt; do
|
||||||
case $opt in
|
case $opt in
|
||||||
t) type="$OPTARG" ;;
|
t) type="$OPTARG" ;;
|
||||||
T) theme="$OPTARG" ;;
|
s) theme="$OPTARG" ;;
|
||||||
\?) echo "Invalid option: -$OPTARG" >&2; exit 1 ;;
|
\?) echo "Invalid option: -$OPTARG" >&2; exit 1 ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user