l: use clipmenu instead of copyq
This commit is contained in:
parent
d2ae1c5a07
commit
629b4450c2
|
@ -7,7 +7,6 @@ in {
|
||||||
./alacritty.nix
|
./alacritty.nix
|
||||||
./mpv.nix
|
./mpv.nix
|
||||||
./power-action.nix
|
./power-action.nix
|
||||||
./copyq.nix
|
|
||||||
./urxvt.nix
|
./urxvt.nix
|
||||||
./xdg-open.nix
|
./xdg-open.nix
|
||||||
./yubikey.nix
|
./yubikey.nix
|
||||||
|
@ -222,4 +221,20 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.clipmenu.enable = true;
|
||||||
|
|
||||||
|
# synchronize all the clipboards
|
||||||
|
systemd.user.services.autocutsel = {
|
||||||
|
enable = true;
|
||||||
|
wantedBy = [ "graphical-session.target" ];
|
||||||
|
after = [ "graphical-session.target" ];
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "forking";
|
||||||
|
ExecStart = pkgs.writers.writeDash "autocutsel" ''
|
||||||
|
${pkgs.autocutsel}/bin/autocutsel -fork -selection PRIMARY
|
||||||
|
${pkgs.autocutsel}/bin/autocutsel -fork -selection CLIPBOARD
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue