aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-11-16 17:55:36 +0200
committersrdusr <trevorgray@srdusr.com>2023-11-16 17:55:36 +0200
commitf2c5dc3f783ca6917030aaaceb6296cffd0227aa (patch)
tree1014ff6b9fec6d2c38a183c33a0ed54ade2b39bd /.config
parent5826caaaec19ca64a6c52515e4db0481a5ba6703 (diff)
downloaddotfiles-f2c5dc3f783ca6917030aaaceb6296cffd0227aa.tar.gz
dotfiles-f2c5dc3f783ca6917030aaaceb6296cffd0227aa.zip
Add calendar script
Diffstat (limited to '.config')
-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