diff options
author | Yigit Sever | 2021-10-27 15:27:24 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-27 15:27:24 +0300 |
commit | e885129e442d30a55e391420ac82ab958bb65090 (patch) | |
tree | c4eefb369bbc6c46faa008e496e49784fc48aeee /.config/polybar/scripts | |
parent | adb93f97e43702251d48f30972acdd804b0fdef4 (diff) | |
download | dotfiles-e885129e442d30a55e391420ac82ab958bb65090.tar.gz dotfiles-e885129e442d30a55e391420ac82ab958bb65090.tar.bz2 dotfiles-e885129e442d30a55e391420ac82ab958bb65090.zip |
polybar: habit script
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 | |||