feat: change copy command for thumbs-command keybinds
This commit is contained in:
@@ -20,7 +20,21 @@ in {
|
|||||||
tmuxPlugins.better-mouse-mode
|
tmuxPlugins.better-mouse-mode
|
||||||
tmuxPlugins.tmux-fzf
|
tmuxPlugins.tmux-fzf
|
||||||
tmuxPlugins.fzf-tmux-url
|
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;
|
# plugin = tmuxPlugins.tmux-super-fingers;
|
||||||
# extraConfig = "set -g @super-fingers-key i";
|
# extraConfig = "set -g @super-fingers-key i";
|
||||||
|
|||||||
@@ -218,5 +218,8 @@
|
|||||||
agents.ryu = nixosConfigurations.ryu.config.system.build.toplevel;
|
agents.ryu = nixosConfigurations.ryu.config.system.build.toplevel;
|
||||||
# agents.mirai = homeConfigurations.mirai.config.system.build.toplevel;
|
# agents.mirai = homeConfigurations.mirai.config.system.build.toplevel;
|
||||||
};
|
};
|
||||||
|
devshells.default = {
|
||||||
|
packages = packages;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user