summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcalwrapper4
1 files changed, 3 insertions, 1 deletions
diff --git a/calwrapper b/calwrapper
index da0a46c..c2b3350 100755
--- a/calwrapper
+++ b/calwrapper
@@ -7,6 +7,8 @@ nexttime=$(date +%s)
interval=60
#time before an starts before a notification pops up
remind=900
+#calendar printout format
+cformat="{start-time:.<8}→{end-time:.<10}{title:.<25}{location:.<30}"
#gets username and password
read -p "username:" caluser
export caluser
@@ -35,7 +37,7 @@ while [ "$loop" == true ]; do
nexttime=$(date +%s)
fi
if [ "$input" == "a" ]; then
- khal calendar
+ khal calendar --format="$cformat"
fi
if [ "$input" == "s" ]; then
nexttime=$(date +%s)