diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/powerline.sh | 8 |
1 files changed, 1 insertions, 7 deletions
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 |