Add support to tmux-pomodoro-plus plugin in status bar (#241)
* Add support to tmux-pomodoro-plus plugin in status bar * Update README.md with setup information for the pomodoro module
This commit is contained in:
parent
e7cd05facc
commit
893917360d
2 changed files with 35 additions and 0 deletions
14
status/pomodoro_plus.sh
Normal file
14
status/pomodoro_plus.sh
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Requires https://github.com/olimorris/tmux-pomodoro-plus
|
||||
|
||||
show_pomodoro_plus() {
|
||||
local index icon color text module
|
||||
|
||||
index=$1
|
||||
icon="$( get_tmux_option "@catppuccin_<module_name>_icon" "" )"
|
||||
color="$( get_tmux_option "@catppuccin_<module_name>_color" "$thm_orange" )"
|
||||
text="$( get_tmux_option "@catppuccin_<module_name>_text" "#{pomodoro_status}" )"
|
||||
|
||||
module=$( build_status_module "$index" "$icon" "$color" "$text" )
|
||||
|
||||
echo "$module"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue