From a936b9638bfd3c12931a77b64eb661c302d66d59 Mon Sep 17 00:00:00 2001 From: Uttarayan Mondal Date: Tue, 12 May 2020 00:54:00 +0530 Subject: [PATCH] Added option to set set -g @dracula-show-powerline false --- scripts/dracula.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/dracula.sh b/scripts/dracula.sh index 80e72bb..4bd0197 100755 --- a/scripts/dracula.sh +++ b/scripts/dracula.sh @@ -20,8 +20,7 @@ main() show_network=$(get_tmux_option "@dracula-show-network" true) show_weather=$(get_tmux_option "@dracula-show-weather" true) show_fahrenheit=$(get_tmux_option "@dracula-show-fahrenheit" true) - right_sep='' - left_sep='' + show_powerline=$(get_tmux_option "@dracula-show-powerline" true) # Dracula Color Pallette white='#f8f8f2' gray='#44475a' @@ -35,6 +34,10 @@ main() pink='#ff79c6' yellow='#f1fa8c' + if $show_powerline; then + right_sep='' + left_sep='' + fi # start weather script in background if $show_weather; then $current_dir/sleep_weather.sh $show_fahrenheit &