aboutsummaryrefslogtreecommitdiff
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
parenta693c4a004d6a90c099b80369c8030d5cca2f894 (diff)
No background color on status bar, transparency
-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