diff options
-rwxr-xr-x | calwrapper | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |