From 740fd41d448e9938c1cc2ddeac490c9c11c8a85e Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Fri, 21 Sep 2018 14:19:47 -0600 Subject: No background color on status bar, transparency --- scripts/powerline.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'scripts/powerline.sh') diff --git a/scripts/powerline.sh b/scripts/powerline.sh index 4496ebc..c5a6eaa 100755 --- a/scripts/powerline.sh +++ b/scripts/powerline.sh @@ -6,13 +6,7 @@ LAN_SYMBOL='\uf0ed' if [[ "$1" == "left" ]]; then echo -ne "#[fg=colour235, bg=colour142] $(tmux display-message -p '#S') #[fg=colour142, bg=colour241]$LS#[default]" - if [[ -f "$HOME/journal.txt" ]]; then - LAST_ENTRY=$(tail -n 1 ~/journal.txt | awk '{ $1=""; print }' | cut -c2-40) - LAST_ENTRY+="..." - else - LAST_ENTRY=$(hostname) - fi - echo -ne "#[fg=colour223, bg=colour241] $LAST_ENTRY #[fg=colour241, bg=colour235]$LS#[default]" + echo -ne "#[fg=colour223, bg=colour241] $(hostname) #[fg=colour241, bg=colour235]$LS#[default]" fi # Disable right prompt for now, i3 bar has all this info -- cgit v1.2.3