From 66f7b0957ae3c2d2835d15844a3b23ee5fe4b943 Mon Sep 17 00:00:00 2001 From: Xavier Logerais Date: Wed, 9 Apr 2014 18:37:06 +0200 Subject: [PATCH] Fix rc.d/zz-powerline --- rc.d/zz-powerline | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/rc.d/zz-powerline b/rc.d/zz-powerline index 0d8f560..01c0bd8 100644 --- a/rc.d/zz-powerline +++ b/rc.d/zz-powerline @@ -3,14 +3,14 @@ # Powerline POWERLINE_FILE=/usr/share/powerline/bash/powerline.sh -#export URXVT_FONT_NAME="Terminus for Powerline" -export URXVT_FONT_NAME="DejaVu Sans Mono for Powerline" -export URXVT_FONT_SIZE="8" - if [ -f "${POWERLINE_FILE}" -a -z "$SSH_CONNECTION" ] then - xrdb -merge <<"EOF" + #export URXVT_FONT_NAME="Terminus for Powerline" + export URXVT_FONT_NAME="DejaVu Sans Mono for Powerline" + export URXVT_FONT_SIZE="8" + + xrdb -merge <<"EOF" XTerm*utf8: 1 XTerm*faceName: ${URXVT_FONT_NAME} XTerm*faceSize: ${URXVT_FONT_SIZE} @@ -19,7 +19,8 @@ UXTerm*faceName: ${URXVT_FONT_NAME} UXTerm*faceSize: ${URXVT_FONT_SIZE} URxvt*font: xft:${URXVT_FONT_NAME}-${URXVT_FONT_SIZE} EOF - xrdb -merge ~/.Xresources.powerline - urxvt_set_font "${URXVT_FONT_NAME}-${URXVT_FONT_SIZE}" - source ${POWERLINE_FILE} + xrdb -merge ~/.Xresources.powerline + + urxvt_set_font "${URXVT_FONT_NAME}-${URXVT_FONT_SIZE}" + source ${POWERLINE_FILE} fi