From 18f342e61455db112225f8ad72156c0907e8aa23 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Sat, 1 Oct 2022 16:23:17 +0200 Subject: [PATCH] feat(tmux): add Pomodoro plugin --- tmux.conf | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tmux.conf b/tmux.conf index 8f7ea9b..9115f8f 100644 --- a/tmux.conf +++ b/tmux.conf @@ -32,6 +32,12 @@ setw -g mode-keys vi # Renumber windows sequentially after closing any of them set -g renumber-windows on +# Pomodoro +set -g @pomodoro_mins 40 +set -g @pomodoro_break_mins 15 +set -g @pomodoro_on " 🍅" +set -g @pomodoro_complete " ✅" + # TokyoNight colors for Tmux set -g mode-style "fg=#7aa2f7,bg=#3b4261" @@ -53,7 +59,7 @@ set -g status-left-style NONE set -g status-right-style NONE set -g status-left "#[fg=#15161e,bg=#7aa2f7,bold] #S #[fg=#7aa2f7,bg=#16161e,nobold,nounderscore,noitalics]" -set -g status-right "#[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#16161e] #{prefix_highlight} #[fg=#3b4261,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261] %d.%m.%Y  %H:%M #[fg=#7aa2f7,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#15161e,bg=#7aa2f7,bold] #h " +set -g status-right "#[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#16161e] #{prefix_highlight} #[fg=#3b4261,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261]#{pomodoro_status} %d.%m.%Y  %H:%M #[fg=#7aa2f7,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#15161e,bg=#7aa2f7,bold] #h " setw -g window-status-activity-style "underscore,fg=#a9b1d6,bg=#16161e" setw -g window-status-separator "" @@ -132,6 +138,7 @@ set -g @plugin 'tmux-plugins/tmux-yank' set -g @plugin 'jbnicolai/tmux-fpp' # f set -g @plugin 'nhdaly/tmux-scroll-copy-mode' set -g @plugin 'wfxr/tmux-fzf-url' # u +set -g @plugin 'olimorris/tmux-pomodoro-plus' # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run '~/.tmux/plugins/tpm/tpm'