12 lines
159 B
Plaintext
12 lines
159 B
Plaintext
![]() |
#!/bin/zsh
|
||
|
|
||
|
zparseopts -D -E x=xorg -xorg=xorg
|
||
|
|
||
|
chosen="${@[RANDOM % $# + 1]}"
|
||
|
|
||
|
if [[ $xorg ]]; then
|
||
|
zenity --info --text=$chosen
|
||
|
else
|
||
|
echo $chosen
|
||
|
fi
|