Mercurial > dotfiles
comparison dot_tmux.conf @ 697:f2984842d6e2
fix: set background color of tmux status line
author | zegervdv <zegervdv@me.com> |
---|---|
date | Thu, 13 Oct 2022 05:21:56 +0000 |
parents | a74af5498b31 |
children | eeaf0d561877 |
comparison
equal
deleted
inserted
replaced
696:22efd3b888f8 | 697:f2984842d6e2 |
---|---|
19 set-window-option -g automatic-rename off | 19 set-window-option -g automatic-rename off |
20 | 20 |
21 # Status bar | 21 # Status bar |
22 set -g set-titles 'off' | 22 set -g set-titles 'off' |
23 set -g status-position 'top' | 23 set -g status-position 'top' |
24 set -g status-style 'bg=#fbfafc' | |
24 set -g status-left "" | 25 set -g status-left "" |
25 set -g status-right-length 200 | 26 set -g status-right-length 200 |
26 set -g status-right "#[fg=white,bg=#7653c1] vsim #[fg=white,bg=#404a54] #(ps hux -u $(whoami) | grep 'vish' | grep -v -E 'grep|view' | wc -l) #[fg=colour3,bg=default] #[fg=colour0,bg=colour3] load #[fg=white,bg=#404a54] #(cat /proc/loadavg | awk '{ print $3; }' | xargs printf '%2.2f') #[fg=colour3,bg=default] #[fg=colour0,bg=#73b00a] mem #[fg=white,bg=#404a54] #(ps haux | awk -v user=$(whoami) '$1 ~ user { sum += $4 } END { print sum; }' | xargs printf '%2.2f')% #[fg=colour3,bg=default] #[fg=white,bg=#cf4f5f] time #[fg=white,bg=#404a54] %d %b %l:%M %p #[fg=colour3,bg=default] #[fg=colour15,bg=colour8] #{session_name} #[fg=colour0,bg=default]" | 27 set -g status-right "#[fg=white,bg=#7653c1] vsim #[fg=white,bg=#404a54] #(ps hux -u $(whoami) | grep 'vish' | grep -v -E 'grep|view' | wc -l) #[fg=colour3,bg=default] #[fg=colour0,bg=colour3] load #[fg=white,bg=#404a54] #(cat /proc/loadavg | awk '{ print $3; }' | xargs printf '%2.2f') #[fg=colour3,bg=default] #[fg=colour0,bg=#73b00a] mem #[fg=white,bg=#404a54] #(ps haux | awk -v user=$(whoami) '$1 ~ user { sum += $4 } END { print sum; }' | xargs printf '%2.2f')% #[fg=colour3,bg=default] #[fg=white,bg=#cf4f5f] time #[fg=white,bg=#404a54] %d %b %l:%M %p #[fg=colour3,bg=default] #[fg=colour15,bg=colour8] #{session_name} #[fg=colour0,bg=default]" |
27 | 28 |
28 # Tabs | 29 # Tabs |