tmux: mouse support (#3642)
Co-authored-by: Sleroq <sleroq@sleroq.link>
This commit is contained in:
parent
e2c1756e3a
commit
2ffc6d6496
10 changed files with 65 additions and 0 deletions
26
tests/modules/programs/tmux/mouse-enabled.nix
Normal file
26
tests/modules/programs/tmux/mouse-enabled.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
config = {
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
mouse = true;
|
||||
};
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
tmuxPlugins = super.tmuxPlugins // {
|
||||
sensible = super.tmuxPlugins.sensible // { rtp = "@sensible_rtp@"; };
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/tmux/tmux.conf
|
||||
assertFileContent home-files/.config/tmux/tmux.conf \
|
||||
${./mouse-enabled.conf}
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue