slicker tmux status line
This commit is contained in:
parent
20866e92e7
commit
a84f38876f
1 changed files with 2 additions and 5 deletions
|
@ -4,7 +4,7 @@ set -g base-index 1
|
|||
set -g display-panes-time 3000
|
||||
#set -s escape-time 7
|
||||
set -s escape-time 50
|
||||
set -g status off
|
||||
set -g status on
|
||||
set -g status-interval 30
|
||||
set -g terminal-overrides "xterm*:XT:smcup@:rmcup@:kUP5=\eOA:kDN5=\eOB:kLFT5=\eOD:kRIT5=\eOC"
|
||||
set -g terminal-overrides ",*:colors=256:smso=\e[3m:rmso=\e[23m:sitm=\e[3m:ritm=\e[23m"
|
||||
|
@ -90,14 +90,11 @@ setw -g window-status-separator ""
|
|||
|
||||
set -g status-fg "#6699aa"
|
||||
set -g status-bg "#1a2a3a"
|
||||
set -g status-left '#[bg=#0055aa,fg=#aabbcc] #I #[default] '
|
||||
set -g status-left '#[bg=#335566,fg=#1a2a3a] #I #[default] '
|
||||
# set -g status-right '#[fg=#666666]|#[bg=#222222,fg=#99cc99] #{?#(tmux show-buffer -b project),#(tmux show-buffer -b project),-} #[bg=#222222,fg=#666666]| #{battery_percentage} #{battery_remain} | %a %h-%d %H:%M | #(date +"%R") '
|
||||
|
||||
set -g status-right '#{battery_icon} #{battery_percentage} %a %h-%d %H:%M '
|
||||
|
||||
if-shell '[[ $(hostname) = "dredd" ]]' 'set -g status-left "#[bg=#114400,fg=#77aa22] #I #[bg=#0055aa,fg=#aabbcc] #h #[default] "'
|
||||
if-shell '[[ $(hostname) != "dredd" ]]' 'set -g status-left "#[bg=#114400,fg=#77aa22] #I #[bg=#339900,fg=#000000] #h #[default] "'
|
||||
|
||||
|
||||
# Startup
|
||||
new -d -s0 'exec zsh'
|
||||
|
|
Loading…
Reference in a new issue