diff options
author | xero <x@xero.nu> | 2015-03-30 00:20:05 -0400 |
---|---|---|
committer | xero <x@xero.nu> | 2015-03-30 00:20:05 -0400 |
commit | 125fe45c85089689ce4a9a83e6866e1d60dc1ce3 (patch) | |
tree | bb8dea238cde38ccaf74043980cedfaf126a7495 /tmux | |
parent | 349ae53b8717dadf9d858c2b72e5bf399d3becf0 (diff) | |
download | dotfiles_ascii-125fe45c85089689ce4a9a83e6866e1d60dc1ce3.tar.xz dotfiles_ascii-125fe45c85089689ce4a9a83e6866e1d60dc1ce3.zip |
update tmux colors to match vim
Diffstat (limited to 'tmux')
-rw-r--r-- | tmux/.tmux.conf | 4 | ||||
-rwxr-xr-x | tmux/code/sys/status | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 19c3a29..9a8f412 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -107,14 +107,14 @@ setw -g aggressive-resize on set-option -g status-position bottom setw -g window-status-format "#[bg=colour8]#[fg=black]█▓░ #W " setw -g window-status-attr dim -setw -g window-status-current-format "#[bg=blue]#[fg=black]█▓░ #W " +setw -g window-status-current-format "#[bg=colour66]#[fg=black]█▓░ #W " setw -g window-status-content-attr blink setw -g window-status-current-attr dim # Info on right set -g status-right-length 100 set -g status-right '' -set -g status-right '#[bg=colour141]#[fg=colour0]█▓░ #(~/code/sys/status)' +set -g status-right '#(~/code/sys/status)' # Info on left (no session display) set -g status-left '' diff --git a/tmux/code/sys/status b/tmux/code/sys/status index ba00749..2aa0b4f 100755 --- a/tmux/code/sys/status +++ b/tmux/code/sys/status @@ -34,6 +34,7 @@ C3="#B3291C" C4="#3A3A3A" C5="#efefef" C6="#878787" +C7="#8787af" draw() { @@ -83,7 +84,7 @@ bat() st="+" ;; esac - echo "#[fg=$C0]"$st$(( 100 * $bn / $bf ))"%" + echo $st$(( 100 * $bn / $bf ))"%" } cpu() { @@ -101,7 +102,10 @@ clock() mday=$(date +'%d') echo "#[fg=$C5]#[bg=$C4] $mtime #[fg=$C6]$myear#[fg=$C5]$mday #[fg=$C6]$EOL" } - +front() +{ + echo "#[bg=$C7]#[fg=$C0]▓░" +} CPU_INFO=`cpu` RAM_INFO=`ram` -echo -e `bat` `draw $RAM_INFO 4` `temp` `draw $CPU_INFO 7``clock` +echo -e `front` `bat` `draw $RAM_INFO 4` `temp` `draw $CPU_INFO 7``clock` |