diff --git a/README.md b/README.md index 26eed3a..824aff9 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,6 @@ set -g @tmux2k-yellow '#f8c800' # change yellow color - `time`: Show current time and date - `weather`: Show weather information - `window`: tmux window list -- `pomodoro`: Shows the `#{pomodoro_status}` of the [tmux-pomodoro-plus](https://github.com/olimorris/tmux-pomodoro-plus) plugin (if installed) To use plugins: diff --git a/scripts/pomodoro.sh b/scripts/pomodoro.sh deleted file mode 100755 index 179c9b7..0000000 --- a/scripts/pomodoro.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env bash - -if [ -z "$TMUX" ]; then - echo "No tmux session." - exit 1 -fi - -# Check for olimorris/tmux-pomodoro-plus scripts -POMODORO_SCRIPT="$HOME/.tmux/plugins/tmux-pomodoro-plus/scripts/pomodoro.sh" -POMODORO_HELPER="$HOME/.tmux/plugins/tmux-pomodoro-plus/scripts/helpers.sh" - -if [ -f "$POMODORO_SCRIPT" ]; then - . "$POMODORO_SCRIPT" - . "$POMODORO_HELPER" -fi - -main() { - pomodoro_status="$(pomodoro_status)" - RATE=$(get_tmux_option "@tmux2k-ping-rate" 5) - sleep "$RATE" -} - -main diff --git a/scripts/tmux2k.sh b/scripts/tmux2k.sh index e467989..978eb1d 100755 --- a/scripts/tmux2k.sh +++ b/scripts/tmux2k.sh @@ -49,7 +49,6 @@ declare -A plugin_colors=( ["weather"]="yellow text" ["time"]="light_blue text" ["window"]="bg_main blue" - ["pomodoro"]="bg_main green" ) get_plugin_colors() { @@ -166,7 +165,6 @@ set_theme() { ["weather"]="text yellow" ["time"]="text light_blue" ["window"]="blue bg_main" - ["pomodoro"]="text bg_main" ) fi }