Skip to content

Instantly share code, notes, and snippets.

@0xBADDCAFE
Created May 3, 2019 13:57
Show Gist options
  • Save 0xBADDCAFE/6a4e14c41caaaf0083663566bd4ffdd1 to your computer and use it in GitHub Desktop.
Save 0xBADDCAFE/6a4e14c41caaaf0083663566bd4ffdd1 to your computer and use it in GitHub Desktop.
Patch for Arch AUR
diff -ura byobu-5.127/usr/share/byobu/profiles/tmux byobu-5.127-2/usr/share/byobu/profiles/tmux
--- byobu-5.127/usr/share/byobu/profiles/tmux 2018-08-13 00:52:36.000000000 +0900
+++ byobu-5.127-2/usr/share/byobu/profiles/tmux 2019-05-03 22:41:21.990907600 +0900
@@ -39,9 +39,13 @@
#set-option -g set-titles on
#set-option -g set-titles-string '#(whoami)@#H - byobu (#S)'
-set-option -g pane-active-border-bg $BYOBU_HIGHLIGHT
-set-option -g pane-active-border-fg $BYOBU_HIGHLIGHT
-set-option -g pane-border-fg $BYOBU_ACCENT
+
+# set-option -g pane-active-border-bg $BYOBU_HIGHLIGHT #
+# set-option -g pane-active-border-fg $BYOBU_HIGHLIGHT #
+# set-option -g pane-border-fg $BYOBU_ACCENT #
+set-option -g pane-active-border-style fg=$BYOBU_HIGHLIGHT,bg=$BYOBU_HIGHLIGHT
+set-option -g pane-border-style fg=$BYOBU_ACCENT
+
set-option -g history-limit 100000
set-option -g display-panes-time 150
set-option -g display-panes-colour $BYOBU_ACCENT
@@ -49,21 +53,30 @@
set-option -g clock-mode-colour $BYOBU_ACCENT
set-option -g clock-mode-style 24
set-option -g mode-keys vi
-set-option -g mode-bg $BYOBU_ACCENT
-set-option -g mode-fg $BYOBU_LIGHT
-set-window-option -g window-status-attr default
-set-window-option -g window-status-bg $BYOBU_DARK
-set-window-option -g window-status-fg $BYOBU_LIGHT
-set-window-option -g window-status-current-attr reverse
-set-window-option -g window-status-current-bg $BYOBU_DARK
-set-window-option -g window-status-current-fg $BYOBU_LIGHT
-#set-window-option -g window-status-alert-bg $BYOBU_DARK
-#set-window-option -g window-status-alert-fg $BYOBU_LIGHT
-#set-window-option -g window-status-alert-attr bold
-set-window-option -g window-status-activity-bg $BYOBU_DARK
-set-window-option -g window-status-activity-fg $BYOBU_LIGHT
-set-window-option -g window-status-activity-attr bold
+# set-option -g mode-bg $BYOBU_ACCENT #
+# set-option -g mode-fg $BYOBU_LIGHT #
+set-option -g mode-style bg=$BYOBU_ACCENT,fg=$BYOBU_LIGHT
+
+# set-window-option -g window-status-attr default #
+# set-window-option -g window-status-bg $BYOBU_DARK #
+# set-window-option -g window-status-fg $BYOBU_LIGHT #
+# set-window-option -g window-status-current-attr reverse #
+# set-window-option -g window-status-current-bg $BYOBU_DARK #
+# set-window-option -g window-status-current-fg $BYOBU_LIGHT #
+# #set-window-option -g window-status-alert-bg $BYOBU_DARK #
+# #set-window-option -g window-status-alert-fg $BYOBU_LIGHT #
+# #set-window-option -g window-status-alert-attr bold #
+# set-window-option -g window-status-activity-bg $BYOBU_DARK #
+# set-window-option -g window-status-activity-fg $BYOBU_LIGHT #
+# set-window-option -g window-status-activity-attr bold #
+set-window-option -g window-status-style bg=$BYOBU_DARK,fg=$BYOBU_LIGHT,default
+# window-status-alert option is splited to bell, content, activity, etc., but content cannot set.
+set-window-option -g window-status-current-style bg=$BYOBU_DARK,fg=$BYOBU_LIGHT,reverse
+# set-window-option -g window-status-content-style bg=$BYOBU_DARK,fg=$BYOBU_LIGHT,reverse
+set-window-option -g window-status-bell-style bg=$BYOBU_DARK,fg=$BYOBU_LIGHT,bold
+set-window-option -g window-status-activity-style bg=$BYOBU_DARK,fg=$BYOBU_LIGHT,bold
+
set-window-option -g automatic-rename on
set-window-option -g aggressive-resize on
set-window-option -g monitor-activity on
@@ -86,5 +99,7 @@
set -g status-right-length 256
set -g status-left '#(byobu-status tmux_left)'
set -g status-right '#(byobu-status tmux_right)'$BYOBU_DATE$BYOBU_TIME
-set -g message-bg $BYOBU_ACCENT
-set -g message-fg white
+
+# set -g message-bg $BYOBU_ACCENT #
+# set -g message-fg white #
+set -g message-style bg=$BYOBU_ACCENT,fg=white
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment