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