[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:taskwarrior [2012/09/23 22:26 (UTC)] – [Sources] sycamorex | howtos:taskwarrior [2012/09/26 00:49 (UTC)] (current) – deleted page - moved to the howtos:general_admin section mfillpot | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
- | ====== Todo Lists in TaskWarrior ====== | ||
- | [[http:// | ||
- | |||
- | ===== Managing Your Todo List ===== | ||
- | |||
- | You can use TaskWarrior in 2 ways: | ||
- | |||
- | 1. By invoking the '' | ||
- | |||
- | < | ||
- | task 2.1.1 shell | ||
- | |||
- | Enter any task command (such as ' | ||
- | There is no need to include the ' | ||
- | Enter ' | ||
- | |||
- | task></ | ||
- | |||
- | 2. By typing '' | ||
- | |||
- | < | ||
- | |||
- | In this HOWTO we are going to use the full '' | ||
- | |||
- | === Adding Tasks === | ||
- | |||
- | < | ||
- | Created task 1. | ||
- | % task add priority:H Book a ticket | ||
- | Created task 2.</ | ||
- | |||
- | We have just created 2 tasks with the second one being of high priority. | ||
- | |||
- | === Adding Due Dates === | ||
- | |||
- | < | ||
- | % task 4 modify due:today | ||
- | % task 5 modify due: | ||
- | |||
- | === Displaying Tasks === | ||
- | |||
- | < | ||
- | |||
- | ID Project Pri Due A Age Urgency Description | ||
- | | ||
- | | ||
- | |||
- | 2 tasks</ | ||
- | |||
- | Please note that because of high priority, task 2 is at the top of the list. There are a few ways you can list your tasks: | ||
- | |||
- | * task | ||
- | * task minimal | ||
- | * task ls | ||
- | * task list | ||
- | * task long | ||
- | |||
- | Each method differs in terms of the amount of displayed information. | ||
- | |||
- | === Starting a Task === | ||
- | |||
- | < | ||
- | |||
- | === Marking Tasks as Done === | ||
- | |||
- | < | ||
- | Completed task 2 'Book a ticket' | ||
- | Completed 1 task. | ||
- | % task ls | ||
- | |||
- | ID Project Pri Description | ||
- | | ||
- | |||
- | 1 task</ | ||
- | |||
- | === Deleting Tasks === | ||
- | |||
- | < | ||
- | |||
- | Alternatively, | ||
- | |||
- | < | ||
- | |||
- | === Duplicating Tasks === | ||
- | |||
- | We have got the following task: | ||
- | |||
- | < | ||
- | | ||
- | |||
- | You can duplicate the task with some modifications | ||
- | |||
- | < | ||
- | |||
- | < | ||
- | | ||
- | | ||
- | |||
- | === Modifying Tasks === | ||
- | |||
- | You have just realised that one of your tasks contains a spelling mistake: | ||
- | < | ||
- | ... | ||
- | | ||
- | |||
- | We can modify an existing task: | ||
- | |||
- | < | ||
- | |||
- | < | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | 10 2m 0 Feed the dog | ||
- | 11 2m 0 Change my email address on SlackBuilds.org | ||
- | 12 | ||
- | 13 1s 0 Upgrade SlackBuilds</ | ||
- | |||
- | |||
- | < | ||
- | % task 7,9,11,13 modify project:SB | ||
- | % task 8,10 modify project: | ||
- | |||
- | < | ||
- | 13 SB H | ||
- | 10 home H | ||
- | 4 misc H | ||
- | 5 misc H | ||
- | 12 | ||
- | 9 SB M | ||
- | 11 SB M | ||
- | 8 home M | ||
- | 1 misc M | ||
- | 6 misc M | ||
- | 7 SB L | ||
- | 2 misc L | ||
- | 3 misc L | ||
- | |||
- | 13 tasks</ | ||
- | |||
- | You can display a breakdown of your projects: | ||
- | |||
- | < | ||
- | |||
- | Project Tasks Pri:None Pri:L Pri:M Pri:H | ||
- | (none) | ||
- | SB 4 0 | ||
- | home 2 0 | ||
- | misc 6 0 | ||
- | |||
- | 3 projects (13 tasks)</ | ||
- | |||
- | === Adding / Removing Tags === | ||
- | |||
- | You can add tags by: | ||
- | |||
- | < | ||
- | |||
- | You can remove tags by: | ||
- | |||
- | < | ||
- | |||
- | < | ||
- | |||
- | === Selective Display of Tasks === | ||
- | |||
- | Display your tasks by priority: | ||
- | |||
- | < | ||
- | [task next priority:H] | ||
- | |||
- | ID Project Pri Due A Age Urgency Description | ||
- | 13 SB H | ||
- | 10 home H | ||
- | 4 misc H | ||
- | 5 misc H | ||
- | 12 | ||
- | |||
- | 5 tasks</ | ||
- | |||
- | Display your tasks by project: | ||
- | |||
- | < | ||
- | [task next project:SB] | ||
- | |||
- | ID Project Pri Due A Age Urgency Description | ||
- | 13 SB H | ||
- | 9 SB M | ||
- | 11 SB M | ||
- | 7 SB L | ||
- | |||
- | 4 tasks</ | ||
- | |||
- | Display your tasks by tag: | ||
- | |||
- | < | ||
- | |||
- | === Adding annotations === | ||
- | |||
- | You can annotate a task: | ||
- | |||
- | < | ||
- | |||
- | < | ||
- | ... | ||
- | 9 SB M 1h 5.8 Test my SlackBuilds on Slackware 14 | ||
- | | ||
- | | ||
- | ...</ | ||
- | |||
- | === Displaying Statistics === | ||
- | |||
- | < | ||
- | |||
- | ===== Colours in TaskWarrior ===== | ||
- | |||
- | You can enable one of the colour themes in ~/.taskrc by uncommenting one of the lines: | ||
- | |||
- | < | ||
- | #include / | ||
- | #include / | ||
- | #include / | ||
- | #include / | ||
- | #include / | ||
- | include / | ||
- | #include / | ||
- | #include / | ||
- | #include / | ||
- | #include / | ||
- | |||
- | The '' | ||
- | |||
- | {{ : | ||
- | |||
- | You can display current colours (variables + colour values) with: | ||
- | |||
- | < | ||
- | |||
- | Colour themes can be easily customised by editing theme files. All the theme files are located in ''/ | ||
- | |||
- | ===== Displaying a Calendar ===== | ||
- | |||
- | All the tasks that have a due date assigned will be marked on the calendar. Additionally you can enable the display of holidays by specifying a country in '' | ||
- | |||
- | < | ||
- | |||
- | The ''/ | ||
- | |||
- | ===== TaskWarrior Integration ===== | ||
- | |||
- | TaskWarrior is a very flexible and powerful tool. What makes it even more useful is the possibility of integrating it into your working environment. | ||
- | |||
- | ==== TaskWarrior and i3 ==== | ||
- | |||
- | 1. You issue TaskWarrior commands from '' | ||
- | |||
- | < | ||
- | |||
- | 2. Assign basic keybindings. | ||
- | |||
- | <file sh display_tasks.sh># | ||
- | task ls | ||
- | read -p "Press Enter to close the window."</ | ||
- | |||
- | '' | ||
- | < | ||
- | ... | ||
- | for_window [title=" | ||
- | bindsym $ms+t exec urxvt -title taskwin -e sh ~/ | ||
- | bindsym $ms+Shift+D exec task $(task ls | awk ' | ||
- | ... | ||
- | </ | ||
- | |||
- | This will enable the floating mode for any window entitled '' | ||
- | |||
- | 3. [[howtos: | ||
- | |||
- | |||
- | |||
- | ====== Sources ====== | ||
- | |||
- | * Originally written by [[wiki: | ||
- | <!-- * Contrbutions by [[wiki: | ||
- | |||
- | <!-- Please do not modify anything below, except adding new tags.--> | ||
- | <!-- You must also remove the tag-word " | ||
- | {{tag> |