diff options
Diffstat (limited to '.config/polybar/scripts')
| -rwxr-xr-x | .config/polybar/scripts/habit | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/polybar/scripts/habit b/.config/polybar/scripts/habit new file mode 100755 index 0000000..e6380c6 --- /dev/null +++ b/.config/polybar/scripts/habit | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | #!/usr/bin/env bash | ||
| 2 | |||
| 3 | RES=" " | ||
| 4 | |||
| 5 | if [[ $(dijo --list | grep anki) ]]; then | ||
| 6 | RES="${RES}" | ||
| 7 | fi | ||
| 8 | |||
| 9 | if [[ $(dijo --list | grep walking) ]]; then | ||
| 10 | RES="${RES} " | ||
| 11 | fi | ||
| 12 | |||
| 13 | echo "${RES}" | ||
| 14 | |||
