feat: make tmux inherit wayland env vars so we can use wl-copy
This commit is contained in:
parent
15ed06def1
commit
fcd62641b1
2 changed files with 5 additions and 1 deletions
|
@ -1,13 +1,13 @@
|
|||
{ inputs, ... }: {
|
||||
imports = [
|
||||
inputs.nixvim.homeManagerModules.nixvim
|
||||
./nixvim/conform-nvim.nix # formatter
|
||||
./nixvim/lualine.nix # custom statusline
|
||||
./nixvim/noice.nix # custom CMDLINE
|
||||
./nixvim/nvim-tree.nix # filetree
|
||||
./nixvim/treesitter-context.nix # context line
|
||||
./nixvim/treesitter.nix # syntax highlighting
|
||||
./nixvim/which-key.nix # show keybind hints
|
||||
./nixvim/conform-nvim.nix # formatter
|
||||
];
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
|
|
|
@ -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"
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue