diff options
author | Minijackson <minijackson@riseup.net> | 2024-03-13 18:54:37 +0100 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2024-03-13 18:54:37 +0100 |
commit | c3e62b2c8ee48510aa323a7e6235149ce7e92cba (patch) | |
tree | 98d19e37e0b408e6f8b5b26ba5832f72b4b6686f | |
parent | fab25ff8075d20086ffe60bdaed1aeaff49130f5 (diff) | |
download | nixos-config-reborn-c3e62b2c8ee48510aa323a7e6235149ce7e92cba.tar.gz nixos-config-reborn-c3e62b2c8ee48510aa323a7e6235149ce7e92cba.zip |
tmux: allow applications to set the clipboard
and switch to better terminal-features option
-rw-r--r-- | common/commandline/tmux.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/common/commandline/tmux.nix b/common/commandline/tmux.nix index f3ea877..75f516d 100644 --- a/common/commandline/tmux.nix +++ b/common/commandline/tmux.nix | |||
@@ -53,9 +53,10 @@ in { | |||
53 | 53 | ||
54 | # Colored underscores | 54 | # Colored underscores |
55 | set -as terminal-overrides ',alacritty:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' | 55 | set -as terminal-overrides ',alacritty:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' |
56 | # Force true colors | 56 | # Force true colors and clipboard support |
57 | set-option -ga terminal-overrides ",alacritty:Tc" | 57 | set-option -as terminal-features ",alacritty*:RGB:clipboard" |
58 | set-option -ga terminal-overrides ",alacritty:RGB" | 58 | # Allow applications to set the clipboard |
59 | set-option -s set-clipboard on | ||
59 | 60 | ||
60 | set-option -g mouse on | 61 | set-option -g mouse on |
61 | set-option -g focus-events on | 62 | set-option -g focus-events on |