mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
38 lines
1.2 KiB
Bash
Executable file
38 lines
1.2 KiB
Bash
Executable file
#! /bin/bash
|
|
|
|
# Small script to create a fragment of output for display on the front page
|
|
# of taskwarrior.org, as a teaser.
|
|
|
|
rm pending.data completed.data undo.data
|
|
|
|
echo 'data.location=.' > x
|
|
echo '_forcecolor=on' >> x
|
|
echo 'defaultwidth=95' >> x
|
|
echo 'include /usr/local/share/doc/task/rc/light-256.theme' >> x
|
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
|
echo 'color.alternate=on rgb253' >> x
|
|
echo 'due=6' >> x
|
|
echo 'color.due=color0' >> x
|
|
echo 'color.tagged=color0' >> x
|
|
|
|
echo 'report.list.columns=id,project,priority_long,due,recur,description' >> x
|
|
echo 'report.list.labels=ID,Pro,Pri,Due,Recur,Description' >> x
|
|
echo 'report.list.sort=due+,priority_long-,project+' >> x
|
|
|
|
# Now the visible part.
|
|
echo
|
|
echo '$ task add Get stationery supplies proj:office pri:H due:sat +@mall +@weekend'
|
|
task rc:x add Get stationery supplies proj:office pri:H due:sat +@mall +@weekend
|
|
|
|
echo
|
|
echo '$ task annotate 1 Remember to get batteries'
|
|
task rc:x annotate 1 Remember to get batteries
|
|
|
|
echo
|
|
echo '$ task annotate 1 I wonder if they have that antique fanfold computer paper'
|
|
task rc:x annotate 1 I wonder if they have that antique fanfold computer paper
|
|
|
|
echo
|
|
echo '$ task 1 info'
|
|
task rc:x 1 info
|
|
|