commit: 7c18f181ba817105ee0944455e3d0bd2f10381f3
parent cbbc886eadec7f993bbf75abbf96cc171443be5d
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 1 Dec 2020 00:36:42 +0100
tmux: tmux TERM, inherit environment
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/.tmux.conf b/.tmux.conf
@@ -2,6 +2,8 @@ set -g mouse on
set -g renumber-windows on
set -g set-titles on
+set -g default-terminal "tmux-256color"
+
set -g mode-keys vi
set -g status-left '#[session_id]#[S]#[T] '
@@ -26,6 +28,14 @@ bind-key -n M-l select-pane -R
set-option escape-time 2
+# copy some of the environment (I wish it would copy everything by default...)
+set -g update-environment \
+ "DISPLAY WINDOWID XAUTHORITY \
+ WAYLAND_DISPLAY \
+ XDG_RUNTIME_DIR \
+ GDK_BACKEND QT_QPA_PLATFORM CLUTTER_BACKEND SDL_VIDEODRIVER \
+ "
+
#### COLOUR (Solarized dark)
# default statusbar colors