Skip to content

Instantly share code, notes, and snippets.

@craigmaloney
Created September 28, 2016 16:43
Show Gist options
  • Save craigmaloney/7c915234f83f272ce56c60498d131892 to your computer and use it in GitHub Desktop.
Save craigmaloney/7c915234f83f272ce56c60498d131892 to your computer and use it in GitHub Desktop.
Display todo.txt based on context (like a scoreboard)
#!/bin/bash
COMMAND="/home/craig/bin/todo.sh punch wh && echo && /home/craig/bin/todo.sh -@ ls"
TIME=2
watch --color --no-title -n $TIME $COMMAND $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment