aboutsummaryrefslogtreecommitdiff
path: root/.config/eww/scripts/calendar
diff options
context:
space:
mode:
Diffstat (limited to '.config/eww/scripts/calendar')
-rwxr-xr-x.config/eww/scripts/calendar6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/eww/scripts/calendar b/.config/eww/scripts/calendar
new file mode 100755
index 0000000..a8d56fd
--- /dev/null
+++ b/.config/eww/scripts/calendar
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+month=$(date +%m)
+month=$((month + 1)) # for some reason eww gives the month as a zero-based integer
+
+echo $month