This tmux
plugin shows a simple count of your urgent and non-urgent tasks.
Add #{tasks_status}
to your status-left
or status-right
:
set -g status-right '#{tasks_status} %a %Y-%m-%d %H:%M'
-
Install Tmux Plugin Manager.
-
Add this plugin to your
~/.tmux.conf
:
set -g @plugin 'chriszarate/tmux-tasks'
- Press [prefix] +
I
to install.
The following configuration variables can be set in your ~/.tmux.conf
(shown
here with their default values):
# Task manager
set -g @tasks_manager 'taskwarrior'
# Colors
set -g @tasks_format_begin '#[fg=white,bg=colour236]'
set -g @tasks_format_end '#[fg=white,bg=black]'
# Icons
set -g @tasks_icon_urgent '⧗ '
set -g @tasks_icon_outstanding '+'
Currently, TaskWarrior is the only supported task manager. Suggestions for additional task managers to support is welcome.