aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2018-09-21 14:19:47 -0600
committerCody Hiar <codyfh@gmail.com>2018-09-21 14:20:26 -0600
commit740fd41d448e9938c1cc2ddeac490c9c11c8a85e (patch)
tree4489a11a19f007fa9cb7b6f5a686c290472ee5d4 /scripts
parenta693c4a004d6a90c099b80369c8030d5cca2f894 (diff)
No background color on status bar, transparency
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/powerline.sh8
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