aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/powerline.sh8
-rw-r--r--tmux.config2
2 files changed, 2 insertions, 8 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
diff --git a/tmux.config b/tmux.config
index 1426629..539dbfc 100644
--- a/tmux.config
+++ b/tmux.config
@@ -71,7 +71,7 @@ set -g history-limit 20000
#####################################
# default statusbar colors
-set-option -g status-bg colour235 #base02
+set-option -g status-bg default #base02
set-option -g status-fg colour223 #yellow
# pane border
set-option -g pane-border-fg colour236 #base02