From 846991db0a55519854013f7b32d0e8294531ddfd Mon Sep 17 00:00:00 2001 From: "Haoran S. Diao" <0@hairydiode.xyz> Date: Sun, 24 Nov 2019 21:34:26 -0800 Subject: Added printout formatting --- calwrapper | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit v1.1