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
2018-08-13 07:50:54 +02:00
if [ "$QUTE_COUNT" -eq 5 ]; then
2018-08-12 22:31:12 +02:00
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