diff options
author | Minijackson <minijackson@riseup.net> | 2023-11-20 17:56:21 +0100 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2023-11-20 17:56:21 +0100 |
commit | 0aa47c16eea125e5af5b03fd93290170a9abe8fa (patch) | |
tree | 59c54b0e181dd2604409a948fe2c8b7380dfffe6 | |
parent | 3b5946c04623d80f7caf1de8b3b001c7bf56aa32 (diff) | |
download | nixos-config-reborn-0aa47c16eea125e5af5b03fd93290170a9abe8fa.tar.gz nixos-config-reborn-0aa47c16eea125e5af5b03fd93290170a9abe8fa.zip |
tmux: configure truecolors for alacritty only, and colored underline
-rw-r--r-- | common/commandline/tmux.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/commandline/tmux.nix b/common/commandline/tmux.nix index ccb6ad0..f3ea877 100644 --- a/common/commandline/tmux.nix +++ b/common/commandline/tmux.nix | |||
@@ -51,8 +51,11 @@ in { | |||
51 | ${pkgs.tmux}/bin/tmux show-buffer > /dev/null 2>&1 \ | 51 | ${pkgs.tmux}/bin/tmux show-buffer > /dev/null 2>&1 \ |
52 | && ${pkgs.tmux}/bin/tmux show-buffer | ${pkgs.xsel}/bin/xsel -ib' | 52 | && ${pkgs.tmux}/bin/tmux show-buffer | ${pkgs.xsel}/bin/xsel -ib' |
53 | 53 | ||
54 | # Colored underscores | ||
55 | set -as terminal-overrides ',alacritty:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' | ||
54 | # Force true colors | 56 | # Force true colors |
55 | set-option -ga terminal-overrides ",*:Tc" | 57 | set-option -ga terminal-overrides ",alacritty:Tc" |
58 | set-option -ga terminal-overrides ",alacritty:RGB" | ||
56 | 59 | ||
57 | set-option -g mouse on | 60 | set-option -g mouse on |
58 | set-option -g focus-events on | 61 | set-option -g focus-events on |