From b8e8f6913cb5b157da98973de3a02b6493318ab8 Mon Sep 17 00:00:00 2001 From: Uttarayan Mondal Date: Thu, 21 May 2020 21:28:33 +0530 Subject: [PATCH] Added option to change the powerline seperators from the tmux config file --- scripts/dracula.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/dracula.sh b/scripts/dracula.sh index 7e3bd7c..963fc13 100755 --- a/scripts/dracula.sh +++ b/scripts/dracula.sh @@ -23,7 +23,8 @@ main() show_powerline=$(get_tmux_option "@dracula-show-powerline" false) show_left_icon=$(get_tmux_option "@dracula-show-left-icon" smiley) show_military=$(get_tmux_option "@dracula-military-time" false) - + show_left_sep=$(get_tmux_option "@dracula-show-left-sep" ) + show_right_sep=$(get_tmux_option "@dracula-show-right-sep" ) # Dracula Color Pallette white='#f8f8f2' gray='#44475a' @@ -47,8 +48,8 @@ main() esac if $show_powerline; then - right_sep='' - left_sep='' + right_sep="$show_right_sep" + left_sep="$show_left_sep" fi # start weather script in background if $show_weather; then