aboutsummaryrefslogtreecommitdiff
path: root/.config/eww/scripts/calendar.sh
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2024-12-16 18:27:34 +0000
committerJustine Smithies <justine@smithies.me.uk>2024-12-16 18:27:34 +0000
commit750258b09c9ab3e53e432cd3be4cec5a716608d4 (patch)
tree3999c16a432310a3cf42633b29b823b20d58bb79 /.config/eww/scripts/calendar.sh
parentbeb6a47aa9e5cb73f5da36cabb2afd99dedea8b8 (diff)
Converted calendar.sh from bash to sh.
Diffstat (limited to '.config/eww/scripts/calendar.sh')
-rwxr-xr-x.config/eww/scripts/calendar.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/eww/scripts/calendar.sh b/.config/eww/scripts/calendar.sh
index a9e3502..82ddd92 100755
--- a/.config/eww/scripts/calendar.sh
+++ b/.config/eww/scripts/calendar.sh
@@ -1,12 +1,12 @@
-#!/usr/bin/env bash
+#!/bin/sh
# Calendar script
-function ShowCalendar() {
+ShowCalendar() {
fyi -a "Calendar" --hint string:x-canonical-private-synchronous:calendar " 📅 Calendar" "$(cal | sed "s/\<$(date +%-d)\>/<span color='#fabd2f'><b>$(date +%-d)<\/b><\/span>/")"
}
-function EditCalendar() {
+EditCalendar() {
echo
}