/teatime

simple polybar module for making tea

Primary LanguageShellMIT LicenseMIT

teatime

a small tea timer for polybar with notification support inspired by KTeaTime

example

notif

Usage

Insert the modules into your polybar config, and create a bar called 'countbar' to show the countdown.

Modules

[module/timer]
type = custom/script
interval = 100
format = <label>
exec = $HOME/teatime/timer.sh
tail = true

[module/menu-timer]
type = custom/menu
expand-right = true

menu-0-0 = Green Tea
menu-0-1 = Black Tea
menu-0-2 = Herbal Tea

menu-0-0-exec = $HOME/teatime/teabar.sh 1
menu-0-1-exec = $HOME/teatime/teabar.sh 3
menu-0-2-exec = $HOME/teatime/teabar.sh 5

label-open = Tea Timer
label-close = X
label-separator = " | "
Want to adjust the steep time?

Just change the numbers in the polybar config, thats it!

Want to add more tea options?

Just add another menu layer and pass the steep time as the argument

This is a work in progress, and will probably get more concise and less buggy over time

TODO

  1. Lemonbar Support
  2. Zsh/Fish Support
  3. Pure CLI Support
  4. Mac Support?

Want to Contribute?

  • Pull request!

Author

👤 Jarrett Azar

With help from