Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update dotfiles for tmux/mutt #58

Open
mayli opened this issue Sep 20, 2024 · 1 comment
Open

update dotfiles for tmux/mutt #58

mayli opened this issue Sep 20, 2024 · 1 comment

Comments

@mayli
Copy link

mayli commented Sep 20, 2024

firejail mutt is broken

$ firejail mutt
Error fork: sandbox.c:1312 sandbox: Resource temporarily unavailable

tmux config is using deprecated syntax

https://hastebin.skyra.pw/esibelaxeg.pgsql
tmux/tmux#1689

@l2dy
Copy link
Contributor

l2dy commented Dec 31, 2024

For tmux, you could use the following patch:

diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
index 4506a74..1c0e497 100644
--- a/tmux/.tmux.conf
+++ b/tmux/.tmux.conf
@@ -2,17 +2,13 @@
 set -g default-terminal "tmux-256color"

 # default statusbar colors
-set-option -g status-bg colour235 #base02
-set-option -g status-fg colour130 #yellow
-set-option -g status-attr default
+set-option -g status-style fg=colour130,bg=colour235 #base02,yellow

 # default window title colors
-set-window-option -g window-status-fg colour33 #base0
-set-window-option -g window-status-bg default
+set-window-option -g window-status-style fg=colour33,bg=default #base0,

 # active window title colors
-set-window-option -g window-status-current-fg colour196 #orange
-set-window-option -g window-status-current-bg default
+set-window-option -g window-status-current-style fg=colour196,bg=default #orange,

 # please give us a bit more history
 set-option -g history-limit 5000
@@ -22,12 +18,11 @@ set-option -g set-titles on
 set -g set-titles-string "#(whoami)@##!(#H) - #{?#{m:*sh,#{pane_current_command}},#{pane_current_path},#{pane_current_command}}"

 # pane border
-set-option -g pane-border-fg colour235 #base02
-set-option -g pane-active-border-fg colour46 #base01
+set-option -g pane-border-style fg=colour235 #base02
+set-option -g pane-active-border-style fg=colour46 #base01

 # message text
-set-option -g message-bg colour235 #base02
-set-option -g message-fg colour196 #orange
+set-option -g message-style bg=colour235,fg=colour196 #base02,orange

 # pane number display
 set-option -g display-panes-active-colour colour20 #blue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants