Switch from gcal/todoist to org-agenda!!!

master
trémeur 5 years ago
parent ad7bddcdfb
commit 0ceac6ad67

@ -65,12 +65,9 @@ conky.text = [[
${font VictorMono Nerd Font:size=9:bold}Sync ${font VictorMono Nerd Font:size=9:bold}Sync
${font VictorMono Nerd Font:size=9:regular}${exec command insync get_sync_progress} ${font VictorMono Nerd Font:size=9:regular}${exec command insync get_sync_progress}
$hr $hr
${font VictorMono Nerd Font:size=9:bold}Calendar ${font VictorMono Nerd Font:size=9:bold}Agenda
${font VictorMono Nerd Font:size=9:regular}${exec command ~/.linux/scripts/today.sh} ${font VictorMono Nerd Font:size=9:regular}${exec command ~/.linux/scripts/today.sh}
$hr $hr
${font VictorMono Nerd Font:size=9:bold}To do
${font VictorMono Nerd Font:size=9:regular}${exec command ~/go/bin/todoist sync && ~/go/bin/todoist list --filter '(overdue | today)' | sed 's/^..............//' | sed 's/\#Inbox\ //g' | sed 's/\ ..\:..\ //g' | sort | sed 's/^.\{14\}//'}
$hr
${font VictorMono Nerd Font:size=9:bold}Music ${font VictorMono Nerd Font:size=9:bold}Music
${font VictorMono Nerd Font:size=9:regular}${exec command ~/.linux/scripts/nowplaying.sh} ${font VictorMono Nerd Font:size=9:regular}${exec command ~/.linux/scripts/nowplaying.sh}
${execbar command ~/.linux/scripts/cmus-conky-timebar.sh} ${execbar command ~/.linux/scripts/cmus-conky-timebar.sh}

@ -1,6 +1,3 @@
#/usr/bin/bash #/usr/bin/bash
now=$(date "+%Y-%m-%d") emacs -batch -Q -l ~/.linux/dots/emacs/agenda.el -eval '(org-batch-agenda "a" org-agenda-span 1)'
tomorrow=$(date "+%Y-%m-%d" -d "+1 day")
gcalcli agenda $now $tomorrow --military --nodeclined | sed 's/\x1b\[[0-9;]*m//g'

Loading…
Cancel
Save