aboutsummaryrefslogtreecommitdiff
path: root/.config/tmux
diff options
context:
space:
mode:
Diffstat (limited to '.config/tmux')
-rw-r--r--.config/tmux/tmux.conf19
1 files changed, 13 insertions, 6 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
index 2c17021..e426db1 100644
--- a/.config/tmux/tmux.conf
+++ b/.config/tmux/tmux.conf
@@ -233,7 +233,8 @@ set -g status on
set -g status-interval 1
-set -g status-style fg=#50fa7b,bg=black
+#set-option -g status-style bg=default
+set -g status-style fg=#50fa7b,bg=default
#set -g status-style fg=DeepSkyBlue1,bg=black
#set -g status-style fg=black,bg=gray
@@ -244,14 +245,18 @@ set -g status-style fg=#50fa7b,bg=black
## Left
#set -g status-left ''
set -g status-left-length 60
-set -g status-left "#[fg=#50fa7b] ❐ #S #( ~/.config/tmux/left-status.sh )"
-bind o set-option status-left "#[fg=#50fa7b] ❐ #S" # toggle left-status script off
-bind C-o set-option status-left "#[fg=#50fa7b] ❐ #S #( ~/.config/tmux/left-status.sh )" # toggle left status script on
+set -g status-left "#[bg=#50fa7b,fg=black] ❐ #S #( ~/.config/tmux/left-status.sh ) #[fg=#50fa7b,bg=default]"
+#bind o run-shell "tmux-toggle-option.sh set-option status-left on off"
+#bind o set-option -g status-left "#[bg=#50fa7b,fg=black] ❐ #S #[fg=#50fa7b,bg=default]" \; display-message 'Status-left #{?status,off,on}'
+#set set-option status-left
+#bind o set-option status-left "#[bg=#50fa7b,fg=black] ❐ #S #[fg=#50fa7b,bg=default]" # toggle left-status script off
+bind o run-shell "if [[ `tmux show-options -g status-left "#[bg=#50fa7b,fg=black] ❐ #S #( ~/.config/tmux/left-status.sh ) #[fg=#50fa7b,bg=default]"; then set -g status-left "#[bg=50fa7b,fg=black] ❐ #S #[fg=#50fa7b,bg=default]" else set -g status-left "#[bg=#50fa7b,fg=black] ❐ #S #( ~/.config/tmux/left-status.sh ) #[fg=#50fa7b,bg=default]" fi
+bind C-o set-option status-left "#[bg=#50fa7b,fg=black] ❐ #S #( ~/.config/tmux/left-status.sh ) #[fg=#50fa7b,bg=default]" # toggle left status script on
#set -g status-left "#[fg=DeepSkyBlue1] ❐ #S #( ~/.config/tmux/left-status.sh )"
#set -g status-left "#[fg=black] ❐ #S #( ~/.config/tmux/left-status.sh )"
# Highlight the current window.
-setw -g window-status-current-style fg=#50fa7b,bg=black,bright
+setw -g window-status-current-style fg=#50fa7b,bg=default,bright
#setw -g window-status-current-style fg=DeepSkyBlue1,bg=black,bright
#setw -g window-status-current-style fg=color235,bg=silver,bright
set -g window-status-current-format ' #I:#W '
@@ -264,7 +269,9 @@ set -g status-right-length 60
#set -g status-right-length 140
#set -g status-right-style default
#set -ag status-right "#[fg=black] %H:%M %d-%m-%Y #H "
-set -ag status-right "#[fg=#50fa7b] #{?client_prefix,#[reverse] Prefix #[noreverse] ,} #( ~/.config/tmux/right-status.sh ) %H:%M %d-%m-%Y #H "
+set -ag status-right "#[fg=#50fa7b,bg=default] #{?client_prefix,#[reverse] Prefix #[noreverse] ,} #[bg=default,fg=#50fa7b]#[bg=#50fa7b,fg=black]#( ~/.config/tmux/right-status.sh ) %H:%M | %d-%b-%y "
+#set -g status-right "#(vmstat -SM 1 2 | awk 'END {print \"cpu:\"100-$15\"%\" \" mem:\"512-$4-$5-$6\"M\"}')#[default] %R"
+#set -g status-right "#[fg=green] #22T | #(top -l 2 -FR -n 0 | egrep 'CPU|PhysMem' | awk 'FNR==3{print $8+$10}FNR==4{print $8}' ORS=%%/ | sed 's/..$//')/#(du -hs /var/vm | awk '{print $1}') | %a %b %d %Y %H:%M"
#set -ag status-right "#[fg=DeepSkyBlue1] #( ~/.config/tmux/right-status.sh ) %H:%M %d-%m-%Y #H "
#set -ag status-right "#[fg=black] #( ~/.config/tmux/right-status.sh ) %H:%M %d-%m-%Y #H "