Code:
NAME
conkyRTM.pl
SYNOPSIS
conkyRTM.pl -u USER -p PASSWORD
DESCRIPTION
Perl script to output a user's RTM tasks to Conky
To use this in Conky, put something like this in your .conkyrc:
${execpi 3600 perl /path/to/conkyRTM.pl -u USER -p PASS [options]}
ARGUMENTS
-u USER, --user=USER Specifies the username to be used for RTM
-p PASSWORD, --pass=PASSWORD Specifies the password to be used for RTM
OPTIONS
-d N, --days=N Specifies how many days (N) to grab tasks for
-t, --time Show time task is due in output
-e, --estimate Show task's time estimate in output.
-y, --priority Show task's priority in output.
-l, --location Show task's location in output.
--tcolor=COLOR Specify color for tasks. COLOR can be given as a word,
i.e. blue, as hex, i.e. 0000ff, or as colorN as in Conky
--hcolor=COLOR Specify color for day headers. COLOR can be given as a word,
i.e. blue, as hex, i.e. 0000ff, or as colorN as in Conky
--tindent=N Specify number of spaces to indent tasks.
--hindent=N Specify number of spaces to indent day headers.
--eindent=N Specify number of spaces to indent extra task information,
i.e. location, estimate, or priority.
-r, --alignr Right-align output in Conky
-c, --alignc Center-align output in Conky
-f FONT, --font=FONT Specify font to be used for output. FONT should be in one of the
following formats:
--> font_name
--> font_name:size=SIZE
--> :size=SIZE
NOTE: SIZE is an integer
-n, --not-due Include tasks without a due date in output
-o, --overdue Include overdue tasks
--include-tags=TAGS Include only tasks matching specified tags in output. TAGS is a
comma separated list, i.e. tag1,tag2,tag3.
--ignore-tags=TAGS Exclude all tasks matching specified tags from output. TAGS is a
comma separated list, i.e. tag1,tag2,tag3.
--white-lists=LISTS Include only tasks in specified lists in output. LISTS is a comma
separated list, i.e. list1,list2,list3.
--black-lists=LISTS Exclude all tasks in specified lists from output. LISTS is a comma
separated list, i.e. list1,list2,list3.
--priorities=PRIORITIES Include only tasks matching specified priorities in output.
PRIORITIES is a comma separated list. Valid priorities are
pri1, pri2, pri3, none
--no-headers Don't show day headers.
-l, --location Show location of tasks in output
--24-hour Show due times in 24 hour format
-h, --help Print this text and exit
-m, --man Print full documentation
AUTHOR
Michael Stegeman
LICENSE
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
You can always find the newest version of this script here:
Bookmarks