From f2c5dc3f783ca6917030aaaceb6296cffd0227aa Mon Sep 17 00:00:00 2001 From: srdusr Date: Thu, 16 Nov 2023 17:55:36 +0200 Subject: Add calendar script --- .config/eww/scripts/calendar | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 .config/eww/scripts/calendar (limited to '.config/eww') 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 -- cgit v1.2.3