diff options
-rw-r--r-- | base.yaml | 4 | ||||
-rw-r--r-- | base/task/task.triggers | 167 | ||||
-rw-r--r-- | base/task/taskwarrior-holidays.rc | 44 | ||||
-rwxr-xr-x | base/task/taskwarrior-holidays.sh | 17 | ||||
-rw-r--r-- | base/taskrc | 128 |
5 files changed, 360 insertions, 0 deletions
@@ -27,6 +27,10 @@ ~/.gitmessage: base/gitmessage ~/.makepkg.conf: base/makepkg.conf ~/.npmrc: base/npmrc + ~/.task/task.triggers: base/task/task.triggers + ~/.task/taskwarrior-holidays.sh: base/task/taskwarrior-holidays.sh + ~/.task/taskwarrior-holidays.rc: base/task/taskwarrior-holidays.rc + ~/.taskrc: base/taskrc ~/.tmux.conf: base/tmux.conf ~/.vim/autoload: base/vim/autoload ~/.vim/colors: base/vim/colors diff --git a/base/task/task.triggers b/base/task/task.triggers new file mode 100644 index 0000000..da0f905 --- /dev/null +++ b/base/task/task.triggers @@ -0,0 +1,167 @@ +School +- Projects started, not completed +- Projects that need to be started +- Commitments/promises to others +- Teachers/TAs +- Roommates +- Classmates +- Friends +- Underclassmen +- Upperclassmen +- "Outside" people +- Parents +- Campus organizations +- Extracurricular organizations +- Graduates +- Communications to make/get +- Internal/External +- Initiate or respond to: +- Phone calls +- Text messages +- Voice-mail +- E-mail +- Snail mail +- Social Media +- Other writing to finish/submit +- Reports +- Papers +- Reviews +- Assignments +- Articles +- Readings +- Rewrites and edits +- Meetings that need to be set/requested +- Financial +- Tuition +- Financial aid +- Textbooks +- Dining +- College Expenses +- Other Expenses +- Dorm Room/Apartment +- Rent +- Maintenance +- Utilities +- Food +- Clothes +- Furniture +- Decorations +- Additional Supplies +- Waiting for... +- Information +- Delegated tasks/projects +- Completions critical to projects +- Replies to: +- Letters +- Texts +- Calls +- Social Media +- Reimbursements +- Ordered items +- Items being repaired +- Tickets +- Decisions of others + +Personal +- Projects started, not completed +- Projects that need to be started +- Commitments/promises to others +- Significant Other +- Family +- Friends +- Classmates +- Borrowed items +- Projects: other organizations +- Service +- Civic +- Volunteer +- Communications to make/get +- Family +- Friends +- Professional +- Initiate or respond to: +- Phone calls +- Text messages +- Voicemail +- E-mail +- Snail mail +- Social Media +- Upcoming events +- Special occasions +- Birthdays +- Anniversaries +- Weddings +- Graduations +- Holidays +- Travel +- Weekend trips +- Vacations +- Social events +- Cultural events +- Things to do +- Places to go +- People to meet/invite +- Local attractions +- Administration +- Financial +- Bills +- Banks +- Investments +- Loans +- Taxes +- Insurance +- Legal affairs +- Filing +- Waiting for... +- Mail order +- Repair +- Reimbursements +- Loaned items +- Medical data +- RSVPs +- Home/household +- Landscape +- Kitchen things +- Washer/dryer/vacuum +- Areas to organize/clean +- TV +- VCR/DVD +- Music/CDs/tapes +- Phones +- Closets/clothes +- Vehicle repair/maintenance +- Tools +- Luggage +- Computers +- Software +- Hardware +- Connections +- CD/DVD Drive +- E-mail +- Internet +- Social Media +- Health care +- Doctors +- Dentists +- Specialists +- Hobbies +- Books +- CDs +- MP3s +- Podcasts +- Videos +- Apps +- Errands +- Hardware store +- Pharmacy +- Supermarket +- Bank +- Cleaner +- Bookstore +- Library +- Clothing store +- Community +- Neighborhood +- Schools +- Local government +- Civic issues diff --git a/base/task/taskwarrior-holidays.rc b/base/task/taskwarrior-holidays.rc new file mode 100644 index 0000000..db3b788 --- /dev/null +++ b/base/task/taskwarrior-holidays.rc @@ -0,0 +1,44 @@ +holiday.en-US1.name=New Year's Day +holiday.en-US1.date=20200101 +holiday.en-US2.name=Birthday of Martin Luther King, Jr. +holiday.en-US2.date=20200120 +holiday.en-US3.name=Washington's Birthday +holiday.en-US3.date=20200217 +holiday.en-US4.name=Memorial Day +holiday.en-US4.date=20200525 +holiday.en-US5.name=Independence Day +holiday.en-US5.date=20200704 +holiday.en-US6.name=Labor Day +holiday.en-US6.date=20200907 +holiday.en-US7.name=Columbus Day +holiday.en-US7.date=20201012 +holiday.en-US8.name=Veterans Day +holiday.en-US8.date=20201111 +holiday.en-US9.name=Thanksgiving Day +holiday.en-US9.date=20201126 +holiday.en-US10.name=Day after Thanksgiving +holiday.en-US10.date=20201127 +holiday.en-US11.name=Christmas Eve +holiday.en-US11.date=20201224 +holiday.en-US12.name=Christmas Day +holiday.en-US12.date=20201225 +holiday.en-US13.name=New Year's Day +holiday.en-US13.date=20210101 +holiday.en-US14.name=Birthday of Martin Luther King, Jr. +holiday.en-US14.date=20210118 +holiday.en-US15.name=Washington's Birthday +holiday.en-US15.date=20210215 +holiday.en-US16.name=Memorial Day +holiday.en-US16.date=20210531 +holiday.en-US17.name=Independence Day +holiday.en-US17.date=20210704 +holiday.en-US18.name=Labor Day +holiday.en-US18.date=20210906 +holiday.en-US19.name=Columbus Day +holiday.en-US19.date=20211011 +holiday.en-US20.name=Veterans Day +holiday.en-US20.date=20211111 +holiday.en-US21.name=Thanksgiving Day +holiday.en-US21.date=20211125 +holiday.en-US22.name=Christmas Day +holiday.en-US22.date=20211225 diff --git a/base/task/taskwarrior-holidays.sh b/base/task/taskwarrior-holidays.sh new file mode 100755 index 0000000..97ddb4a --- /dev/null +++ b/base/task/taskwarrior-holidays.sh @@ -0,0 +1,17 @@ +#/bin/bash + +YEARNOW="$(date +%Y)" +YEARNEXT="$(date -d "next year" +%Y)" + +(echo "["; +curl -s https://holidata.net/en-US/$YEARNOW.json | sed "s/$/,/g"; +curl -s https://holidata.net/en-US/$YEARNEXT.json | sed "s/$/,/g" | head -c-2; +echo "]") | jq -r 'map(select(.region == "")) | to_entries | + map((.key+1 | tostring) + "\t" + .value.description + "\t" + .value.date) | .[]' | +while read e; do + INDX="$(echo "$e" | cut -f1)" + NAME="$(echo "$e" | cut -f2)" + DATE="$(echo "$e" | cut -f3 | tr -d "-")" + echo "holiday.en-US$INDX.name=$NAME" + echo "holiday.en-US$INDX.date=$DATE" +done diff --git a/base/taskrc b/base/taskrc new file mode 100644 index 0000000..49e80f9 --- /dev/null +++ b/base/taskrc @@ -0,0 +1,128 @@ +# [Created by task 2.5.1 10/23/2020 18:51:36] +# Taskwarrior program configuration file. +# For more documentation, see http://taskwarrior.org or try 'man task', 'man task-color', +# 'man task-sync' or 'man taskrc' + +# Here is an example of entries that use the default, override and blank values +# variable=foo -- By specifying a value, this overrides the default +# variable= -- By specifying no value, this means no default +# #variable=foo -- By commenting out the line, or deleting it, this uses the default + +# Use the command 'task show' to see all defaults and overrides + +# Files +data.location=~/.task +default.command=ready + +include ~/.task/server/server-config.rc +include ~/.task/taskwarrior-holidays.rc +calendar.holidays=sparse + +# URGENCY TWEAKS ====---- + +#urgency.active.coefficient=500 +urgency.blocking.coefficient=1 +urgency.annotations.coefficient=0 + +# MY THEME ====---- + +# Color theme (uncomment one to use) +#include /usr/share/doc/task/rc/light-16.theme +#include /usr/share/doc/task/rc/light-256.theme +#include /usr/share/doc/task/rc/dark-16.theme +#include /usr/share/doc/task/rc/dark-256.theme +#include /usr/share/doc/task/rc/dark-red-256.theme +#include /usr/share/doc/task/rc/dark-green-256.theme +#include /usr/share/doc/task/rc/dark-blue-256.theme +#include /usr/share/doc/task/rc/dark-violets-256.theme +#include /usr/share/doc/task/rc/dark-yellow-green.theme +#include /usr/share/doc/task/rc/dark-gray-256.theme +#include /usr/share/doc/task/rc/dark-gray-blue-256.theme +#include /usr/share/doc/task/rc/solarized-dark-256.theme +#include /usr/share/doc/task/rc/solarized-light-256.theme +#include /usr/share/doc/task/rc/no-color.theme + +rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda. + +# General decoration +color.label=bold +color.label.sort=bold yellow +color.alternate=on color18 +color.header=color19 +color.footnote=color8 +color.warning=bold red +color.error=bold white on red +color.debug=color4 + +# Task state +color.completed= +color.deleted= +color.active=bold color15 on color16 +color.recurring=blue +color.scheduled=yellow +color.until=yellow +color.blocked=color19 +#color.blocking=black on color20 +color.blocking=cyan + +# Project +#color.project.none= + +# Priority +color.uda.priority.H=color7 +color.uda.priority.L=color8 +color.uda.priority.M=color20 + +# Tags +color.tagged=color17 +color.tag.next=color16 +#color.tag.none= + +# Due +color.due.today=bold red +color.due=red +color.overdue=bold red + +# Report: burndown +color.burndown.done=on green +color.burndown.pending=on red +color.burndown.started=on yellow + +# Report: history +color.history.add=color0 on red +color.history.delete=on color18 +color.history.done=color0 on green + +# Report: summary +color.summary.background=white on black +color.summary.bar=black on green + +# Command: calendar +color.calendar.due.today=color15 on red +color.calendar.due=color15 on color8 +color.calendar.holiday=color0 on yellow +color.calendar.overdue=color15 on red +color.calendar.today=color0 on blue +color.calendar.weekend=on color18 +color.calendar.weeknumber=color19 + +# Command: sync +color.sync.added=green +color.sync.changed=yellow +color.sync.rejected=red + +# Command: undo +#color.undo.after=color2 +#color.undo.before=color1 + +# OTHER THINGS ====---- + +report.ready.columns=id,start.age,entry.age,priority,project,tags,recur.indicator,scheduled.countdown,due.countdown,until.remaining,description,urgency +report.ready.labels=ID,Active,Age,P,Project,Tags,R,S,Due,Until,Description,Urg + +uda.reviewed.type=date +uda.reviewed.label=Reviewed +report._reviewed.description=Tasksh review report. Adjust the filter to your needs. +report._reviewed.columns=uuid +report._reviewed.sort=reviewed+,modified+ +report._reviewed.filter=( reviewed.none: or reviewed.before:now-6days ) and ( +PENDING or +WAITING ) |