summaryrefslogtreecommitdiff
path: root/osdcal.sh
diff options
context:
space:
mode:
Diffstat (limited to 'osdcal.sh')
-rwxr-xr-xosdcal.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/osdcal.sh b/osdcal.sh
new file mode 100755
index 0000000..f27efad
--- /dev/null
+++ b/osdcal.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+CALENDAR=`ncal -M -C | sed 's/\x5f\x08\([0-9 ]\)\x5f\x08\([0-9 ]\)/<span bgcolor="gray" color="black">\1\2<\/span>/g' | sed 's/[ ]*$//'`
+notify-send " " "<tt>$CALENDAR</tt>"
+