mirror of
https://github.com/lbonn/rofi
synced 2024-11-27 14:21:07 +00:00
ec6549748b
The x prefix thing hasn't been needed for quite some time, especially if you are declaring that you want to use bash.
31 lines
626 B
Bash
Executable file
31 lines
626 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
if [ "$*" = "quit" ]
|
|
then
|
|
exit 0
|
|
fi
|
|
|
|
if [ "$@" ]
|
|
then
|
|
# Override the previously set prompt.
|
|
echo -en "\x00prompt\x1fChange prompt\n"
|
|
for a in {1..10}
|
|
do
|
|
echo "$a"
|
|
done
|
|
echo "quit"
|
|
else
|
|
echo -en "\x00prompt\x1ftesting\n"
|
|
echo -en "\0urgent\x1f0,2\n"
|
|
echo -en "\0active\x1f1\n"
|
|
echo -en "\0markup-rows\x1ftrue\n"
|
|
echo -en "\0message\x1fSpecial <b>bold</b>message\n"
|
|
|
|
echo -en "aap\0icon\x1ffolder\n"
|
|
echo "noot"
|
|
echo "mies"
|
|
echo -en "-------------\0nonselectable\x1ftrue\n"
|
|
echo "testing"
|
|
echo "<b>Bold</b>"
|
|
echo "quit"
|
|
fi
|