Sway: Difference between revisions

Onny (talk | contribs)
Systemd services: Original snippet does not allow kanshi to connect to the display
Line 65: Line 65:
   systemd.user.services.kanshi = {
   systemd.user.services.kanshi = {
     description = "kanshi daemon";
     description = "kanshi daemon";
    environment = {
      WAYLAND_DISPLAY="wayland-1";
      DISPLAY = ":0";
    };
     serviceConfig = {
     serviceConfig = {
       Type = "simple";
       Type = "simple";