qutebrowser/tests/end2end/data/userscripts/hello_if_count

12 lines
194 B
Plaintext
Raw Normal View History

2018-08-12 22:31:12 +02:00
#!/bin/bash
if [ "$QUTE_COUNT" = "5" ]; then
echo "message-info 'Count is five!'" >> "$QUTE_FIFO"
elif [ -z "$QUTE_COUNT" ]; then
2018-08-12 22:31:12 +02:00
echo "message-info 'No count!'" >> "$QUTE_FIFO"
fi