get current watson project for a status bar
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
177 B

3 years ago
  1. #! /bin/bash
  2. project="$(watson status -p)"
  3. this_time="$(watson status -e)"
  4. if [ "${project}" == "No project started." ]; then
  5. echo ""
  6. else
  7. echo "${project}: ${this_time}"
  8. fi