summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-11-22 00:16:06 +0100
committerlassulus <lassulus@lassul.us>2022-11-22 00:16:06 +0100
commit629b4450c265c3d4caaf5d147c7f89dafe69df47 (patch)
treece7ee69a3cffd45e9cc8fb37ea712204c09de369 /lass
parentd2ae1c5a07af67a4ad8d41e031bae4bab5b0c9c7 (diff)
l: use clipmenu instead of copyq
Diffstat (limited to 'lass')
-rw-r--r--lass/2configs/baseX.nix17
1 files changed, 16 insertions, 1 deletions
diff --git a/lass/2configs/baseX.nix b/lass/2configs/baseX.nix
index ea35fd4e8..73cf7551e 100644
--- a/lass/2configs/baseX.nix
+++ b/lass/2configs/baseX.nix
@@ -7,7 +7,6 @@ in {
./alacritty.nix
./mpv.nix
./power-action.nix
- ./copyq.nix
./urxvt.nix
./xdg-open.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
+ '';
+ };
+ };
}