diff options
author | Haoran S. Diao <0@hairydiode.xyz> | 2019-11-24 21:34:26 -0800 |
---|---|---|
committer | Haoran S. Diao <0@hairydiode.xyz> | 2019-11-24 21:34:26 -0800 |
commit | 846991db0a55519854013f7b32d0e8294531ddfd (patch) | |
tree | 7d53513844f8ebe9b518384b444aaea28eb137f8 /calwrapper | |
parent | 11a4bf7870191f44dc89faabba7197005a017d0f (diff) |
Diffstat (limited to 'calwrapper')
-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) |