diff --git a/doc/misc/themes/README b/doc/misc/themes/README new file mode 100644 index 000000000..d7318ed03 --- /dev/null +++ b/doc/misc/themes/README @@ -0,0 +1,16 @@ +Themes + +To generate samples of themes, first execute the 'run' script to generate the +sample data. Note that this data may need to be tweaked to include qualities +that need to be illustrated in theme sample. + +Then edit the 'rc' file to include the desired theme file. + +Then run 'per' once per theme, and capture the display. + +Note that this will require that the terminal window be switched between a black +and white background to properly show the light and dark themes. + +Note that for the solarized themes, the terminal color palette needs to be set +to specific colors. + diff --git a/doc/misc/themes/per b/doc/misc/themes/per new file mode 100755 index 000000000..1085761f5 --- /dev/null +++ b/doc/misc/themes/per @@ -0,0 +1,8 @@ +echo '$ task list' +task rc:rc list | grep -v alternate +echo '$ task summary' +task rc:rc summary | grep -v alternate +echo '$ task ghistory' +task rc:rc ghistory | grep -v alternate +echo '$ task calendar' +task rc:rc calendar | grep -v alternate diff --git a/doc/misc/themes/run b/doc/misc/themes/run new file mode 100755 index 000000000..fd3ff466b --- /dev/null +++ b/doc/misc/themes/run @@ -0,0 +1,47 @@ +rm pending.data completed.data undo.data rc + +cat <>rc + +data.location=. +confirmation=off +_forcecolor=on + +#include ~/task-2.0.0.git/doc/rc/light-16.theme +#include ~/task-2.0.0.git/doc/rc/dark-16.theme +#include ~/task-2.0.0.git/doc/rc/light-256.theme +#include ~/task-2.0.0.git/doc/rc/dark-256.theme +#include ~/task-2.0.0.git/doc/rc/dark-gray-256.theme +#include ~/task-2.0.0.git/doc/rc/dark-red-256.theme +#include ~/task-2.0.0.git/doc/rc/dark-green-256.theme +#include ~/task-2.0.0.git/doc/rc/dark-blue-256.theme +include ~/task-2.0.0.git/doc/rc/dark-violets-256.theme +#include ~/task-2.0.0.git/doc/rc/dark-yellow-green.theme +#include ~/task-2.0.0.git/doc/rc/solarized-dark-256.theme +#include ~/task-2.0.0.git/doc/rc/solarized-light-256.theme + +EOF + +task rc:rc add Ordinary task +task rc:rc add Started task +task rc:rc 2 start +task rc:rc add High priority task pri:H +task rc:rc add Medium priority task pri:M +task rc:rc add Low priority task pri:L +task rc:rc add Household task project:Home +task rc:rc add Outdoor task project:Garden +task rc:rc add Overdue task due:yesterday +task rc:rc add Due task due:tomorrow +task rc:rc add Not yet due tasks due:2/14/2012 +task rc:rc add Recurring task due:eom recur:monthly +task rc:rc add Tagged task +tag1 +task rc:rc add Blocking task +task rc:rc add Dependent task + +task rc:rc log Completed_1 project:Garden +task rc:rc log Completed_2 project:Garden +task rc:rc log Completed_3 project:Home +task rc:rc add Deleted_1 + +task rc:rc 14 mod depends:13 +task rc:rc 15 delete +