1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-28 17:38:33 +02:00

copyq: support xwayland

We do this by adding QT_QPA_PLATFORM=xcb to the service environment as
per the workaround given in

  https://copyq.readthedocs.io/en/latest/known-issues.html#known-issue-wayland

Fixes #3530
This commit is contained in:
Damien Cassou 2023-03-31 09:30:53 +02:00 committed by Robert Helgesson
parent d3fd3b9d69
commit 67b97020b6
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -46,6 +46,7 @@ in {
Service = {
ExecStart = "${cfg.package}/bin/copyq";
Restart = "on-failure";
Environment = [ "QT_QPA_PLATFORM=xcb" ];
};
Install = { WantedBy = [ cfg.systemdTarget ]; };