aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--base/tmux.conf25
-rwxr-xr-xbase/tmux/status (renamed from base/tmux/status-left)0
2 files changed, 23 insertions, 2 deletions
diff --git a/base/tmux.conf b/base/tmux.conf
index 94f28a1..272c954 100644
--- a/base/tmux.conf
+++ b/base/tmux.conf
@@ -23,7 +23,7 @@ set -g status-position top
set -g status-left-length 50
set -g status-right-length 30
set -g status-style "fg=colour8,bg=colour18"
-set -g status-left "#(bash ~/.tmux/status-left)"
+set -g status-left "#(bash ~/.tmux/status)"
set -g status-right "#[fg=colour19]#[bg=colour19,fg=colour7] %a %m.%d %R 💜"
set -g window-status-format "#{?#W,#W,#I} #[default,fg=colour19]"
set -g window-status-current-format "#{?#W,#W,#I} #[nobold,fg=colour19]"
@@ -76,6 +76,7 @@ bind -r C-h resizep -L
bind -r C-j resizep -D
bind -r C-k resizep -U
bind -r C-l resizep -R
+# TODO Create new window instead of cycling?
unbind %
unbind "'"
@@ -87,7 +88,27 @@ bind Tab last # most recent window
bind -r "<" swapw -d -t -1
bind -r ">" swapw -d -t +1
-bind T run "bash ~/.tmux/status-left toggle-task"
+bind T run "bash ~/.tmux/status toggle-task"
+
+#bind -T root F12 \
+# set prefix None \;\
+# set key-table off \;\
+# set status-style "fg=$color_status_text,bg=$color_window_off_status_bg" \;\
+# set window-status-current-format "#[fg=$color_window_off_status_bg,bg=$color_window_off_status_current_bg]$separator_powerline_right#[default] #I:#W# #[fg=$color_window_off_status_current_bg,bg=$color_window_off_status_bg]$separator_powerline_right#[default]" \;\
+# set window-status-current-style "fg=$color_dark,bold,bg=$color_window_off_status_current_bg" \;\
+# if -F '#{pane_in_mode}' 'send-keys -X cancel' \;\
+# refresh-client -S \;\
+#
+#bind -T off F12 \
+# set -u prefix \;\
+# set -u key-table \;\
+# set -u status-style \;\
+# set -u window-status-current-style \;\
+# set -u window-status-current-format \;\
+# refresh-client -S
+#
+#wg_is_keys_off="#[fg=$color_light,bg=$color_window_off_indicator]#([ $(tmux show-option -qv key-table) = 'off' ] && echo 'OFF')#[default]"
+#set -g status-right "$wg_is_keys_off #{sysstat_cpu} | #{sysstat_mem} | #{sysstat_loadavg} | $wg_user_host"
bind r source ~/.tmux.conf
diff --git a/base/tmux/status-left b/base/tmux/status
index bb2ad9e..bb2ad9e 100755
--- a/base/tmux/status-left
+++ b/base/tmux/status