feat: change copy command for thumbs-command keybinds

This commit is contained in:
Uttarayan Mondal
2024-05-17 22:38:12 +05:30
parent 717eb2b666
commit b8754d240f
2 changed files with 18 additions and 1 deletions

View File

@@ -20,7 +20,21 @@ in {
tmuxPlugins.better-mouse-mode
tmuxPlugins.tmux-fzf
tmuxPlugins.fzf-tmux-url
tmuxPlugins.tmux-thumbs
{
plugin = tmuxPlugins.tmux-thumbs;
extraConfig =
if pkgs.stdenv.isDarwin
then
#tmux
''
set -g @thumbs-command 'echo -n {} | pbcopy'
''
else
#tmux
''
set -g @thumbs-command 'echo -n {} | wl-copy'
'';
}
# {
# plugin = tmuxPlugins.tmux-super-fingers;
# extraConfig = "set -g @super-fingers-key i";