dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 3172c4eacee399ddcc50dcd37cfd65d3efc99e0d
parent 3cd77a31081ebdf55c8268928a3e10d20a6102e5
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Sat, 21 Oct 2017 14:37:42 -0400

use less distracting colors for tmux status bare

Diffstat:
Mlinks/.tmux.conf | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/links/.tmux.conf b/links/.tmux.conf @@ -83,12 +83,12 @@ set -g status-position top set -g status-interval 5 set -g status-bg default set -g status-fg cyan -set -g status-left-length 40 +set -g status-left-length 20 #set -g status-left "#[fg=red]#(hostname|sed \"s/\\\\..*$//\") #[fg=green]s:#S #[fg=yellow]w:#I #[fg=cyan]p:#P" -set -g status-left "#[fg=green]#(hostname|sed \"s/\\\\..*$//\") #[fg=blue]s:#S" +set -g status-left "#[fg=cyan]#(hostname|sed \"s/\\\\..*$//\") #[fg=#333333]s:#S" set -g status-right-length 40 -if-shell 'uname | grep -qi Darwin' "set -g status-right \"#[fg=#81a2be]#(/usr/local/bin/mpc | head -n 1 | sed 's/volume.*$//' | cut -c 1-22) #[fg=cyan]#(~/bin/battery-osx) #(~/bin/mailstatus.sh) #[fg=yellow]#(uptime|sed 's/.* //') #[fg=green]%Y-%m-%d %R\"" +if-shell 'uname | grep -qi Darwin' "set -g status-right \"#[fg=#81a2be]#(/usr/local/bin/mpc | head -n 1 | sed 's/volume.*$//' | cut -c 1-22) #[fg=cyan]#(~/bin/battery-osx) #(~/bin/mailstatus.sh) #[fg=yellow]#(uptime|sed 's/.* //') #[fg=#333333]%Y-%m-%d #[fg=#666666]%R\"" if-shell 'uname | grep -qi Linux' "set -g status-right \"#[fg=cyan]#(acpi|sed 's/Battery//; s/0://; s/Discharging//; s/Full, //; s/remaining//; s/ , //; s/Charging, /+/; s/ until charged/ /; s/, / /; s/Unknown //; s/ $//;') #(~/bin/mailstatus.sh) #[fg=yellow]#(cat /proc/loadavg|awk '{print $1;}') #[fg=green]%Y-%m-%d %R\"" set -g status-justify centre @@ -109,8 +109,8 @@ setw -g window-status-activity-fg default setw -g window-status-bell-attr blink setw -g window-status-bell-bg default setw -g window-status-bell-fg default -setw -g window-status-format '#[fg=green]#[bg=default] #I #[bg=default]#[fg=green]#W ' -setw -g window-status-current-format '#[fg=red]#[bg=default] #I #[fg=red,bg=default]#W ' +setw -g window-status-format '#[fg=#666666]#[bg=default] #I #[bg=default]#[fg=$666666]#W ' +setw -g window-status-current-format '#[fg=#999999]#[bg=default] #I #[fg=#999999,bg=default]#W ' # Inactive panes set -g pane-border-fg colour238 @@ -149,7 +149,7 @@ bind-key W new-window -n weather "curl 'wttr.in/?m'; echo -e '\nPress <enter> to bind-key M new-window -n mutt "mutt" bind-key V new-window -n vim "vim" bind-key P new-window -n vimpc "vimpc" -bind-key Enter new-window "tmux set status-right-length `echo $(tput cols)/3|bc|tr -d '\n'`; tmux set status-left-length `echo $(tput cols)/3|bc|tr -d '\n'`; $SHELL" +bind-key Enter new-window "tmux set status-right-length `echo $(tput cols)/3|bc|tr -d '\n'`; $SHELL" #bind-key Enter new-window #set-hook client-resized "tmux set status-right-length `echo $(tmux display -p '#{client_width}')/3|bc|tr -d '\n'`; tmux set status-left-length `echo $(tmux display -p '#{client_width}'put cols)/3|bc|tr -d '\n'`"