scripts/waybar/waybar-todo.sh

10 lines
209 B
Bash
Raw Normal View History

2021-12-31 15:57:34 +00:00
#!/bin/bash
RUNNING=$(pgrep todotxt-machine)
if [ "$RUNNING" ]; then
kill $RUNNING 2&>1 /dev/null
else
/usr/bin/xterm -e "/home/jpm/.local/bin/todotxt-machine /home/jpm/nextcloud/phone/todo.txt"
fi