Skip to content

quandangv/polybar-warrior

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

polybar-warrior

A script to browse through your tasks and mark them as done from Polybar

screenshot

Setup

Copy the content of the font folder to the path ~/.local/share/fonts.

Copy/link task.sh to your ~/.config/polybar folder and add the following module to your config file:

[module/taskwarrior]
type = custom/script
exec = ~/.config/polybar-src/modules/task.sh -r 5
tail = true
format = <label>
format-foreground = #fff
format-background = #000
label-padding = 1
label= "%output%"
click-right = kill -USR2 %pid%
click-left = kill -USR1 %pid%

How to use

Interaction with this module is simple:

  • Left click: view next task
  • Right click: mark current task as done, and the message "Marking as done..." will be displayed for 2 seconds. While the message is there, clicking again will cancel the action.

The module automatically jump to another task every 10 seconds. To change the time between jumps, pass the number of seconds to the script with -r switch.

About

A polybar module for taskwarrior

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages