summaryrefslogtreecommitdiffstats
path: root/.config/polybar/scripts
diff options
context:
space:
mode:
authorYigit Sever2021-10-27 15:27:24 +0300
committerYigit Sever2021-10-27 15:27:24 +0300
commite885129e442d30a55e391420ac82ab958bb65090 (patch)
treec4eefb369bbc6c46faa008e496e49784fc48aeee /.config/polybar/scripts
parentadb93f97e43702251d48f30972acdd804b0fdef4 (diff)
downloaddotfiles-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/habit14
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
3RES=" "
4
5if [[ $(dijo --list | grep anki) ]]; then
6 RES="${RES}"
7fi
8
9if [[ $(dijo --list | grep walking) ]]; then
10 RES="${RES} "
11fi
12
13echo "${RES}"
14