diff options
author | lassulus <lassulus@lassul.us> | 2017-12-03 23:13:01 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2017-12-03 23:13:01 +0100 |
commit | 0aba986658bbf743902881f771dc9c0da30d8fe0 (patch) | |
tree | aa924bfe16749d7f43e3f0bfed613e85189e7ea8 | |
parent | 4c50faee7eab3580d96e2c1df05d0504612a4447 (diff) |
l copyq: get DISPLAY from xserver.display
-rw-r--r-- | lass/2configs/copyq.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lass/2configs/copyq.nix b/lass/2configs/copyq.nix index fa01a99c9..cd10313fc 100644 --- a/lass/2configs/copyq.nix +++ b/lass/2configs/copyq.nix @@ -21,9 +21,9 @@ let in { systemd.services.copyq = { wantedBy = [ "multi-user.target" ]; - requires = [ "display-manager.service" ]; + requires = [ "xserver.service" ]; environment = { - DISPLAY = ":0"; + DISPLAY = ":${toString config.services.xserver.display}"; }; path = with pkgs; [ qt5.full |