From 526703b07b3c826600eeb15807acc80026396ad8 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Fri, 16 Oct 2015 15:53:07 -0600 Subject: Adding back powerline styling --- themes/default.sh | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/themes/default.sh b/themes/default.sh index 6ef5e55..74decd1 100644 --- a/themes/default.sh +++ b/themes/default.sh @@ -1,22 +1,18 @@ -# Default Theme +if patched_font_in_use; then + TMUX_POWERLINE_SEPARATOR_LEFT_BOLD="" + TMUX_POWERLINE_SEPARATOR_LEFT_THIN="" + TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD="" + TMUX_POWERLINE_SEPARATOR_RIGHT_THIN="" +else + TMUX_POWERLINE_SEPARATOR_LEFT_BOLD="◀" + TMUX_POWERLINE_SEPARATOR_LEFT_THIN="❮" + TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD="▶" + TMUX_POWERLINE_SEPARATOR_RIGHT_THIN="❯" +fi -#if patched_font_in_use; then - #TMUX_POWERLINE_SEPARATOR_LEFT_BOLD="⮂" - #TMUX_POWERLINE_SEPARATOR_LEFT_THIN="⮃" - #TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD="⮀" - #TMUX_POWERLINE_SEPARATOR_RIGHT_THIN="⮁" -#else - #TMUX_POWERLINE_SEPARATOR_LEFT_BOLD="◀" - #TMUX_POWERLINE_SEPARATOR_LEFT_THIN="❮" - #TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD="▶" - #TMUX_POWERLINE_SEPARATOR_RIGHT_THIN="❯" -#fi -TMUX_POWERLINE_SEPARATOR_LEFT_BOLD="​" #Byte code for zero width space to make the segments into bars instead of arrows -TMUX_POWERLINE_SEPARATOR_LEFT_THIN="​" -TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD="​" -TMUX_POWERLINE_SEPARATOR_RIGHT_THIN="​" +#TMUX_POWERLINE_SEPARATOR_LEFT_BOLD="​ #Byte code for zero width space to make the segments into bars instead of arrows -TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR=${TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR:-'235'} +TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR=${TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR:-'19'} TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR=${TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR:-'255'} TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR=${TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR:-$TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD} -- cgit v1.2.3