diff options
Diffstat (limited to 'lass')
| -rw-r--r-- | lass/2configs/baseX.nix | 17 | 
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 +      ''; +    }; +  };  } | 
