qutebrowser/tests/end2end/data/userscripts/hello_if_count

12 lines
194 B
Bash
Executable File

#!/bin/bash
if [ "$QUTE_COUNT" -eq 5 ]; then
echo "message-info 'Count is five!'" >> "$QUTE_FIFO"
elif [ -z "$QUTE_COUNT" ]; then
echo "message-info 'No count!'" >> "$QUTE_FIFO"
fi