feat: make tmux inherit wayland env vars so we can use wl-copy

This commit is contained in:
Mohammad Rafiq 2025-03-11 21:07:50 +08:00
parent 15ed06def1
commit fcd62641b1
2 changed files with 5 additions and 1 deletions

View file

@ -23,6 +23,10 @@
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",tmux-256color:RGB"
set -as terminal-features ",tmux-256color:RGB"
# inherit environment variables from outside so that we can use wl-copy etc
setenv -g WAYLAND_DISPLAY "$WAYLAND_DISPLAY"
setenv -g XDG_RUNTIME_DIR "$XDG_RUNTIME_DIR"
'';
};
}