anchor.diff:            . "$HOME/.profile"
           fi
   
  +        # If there are any running services from a previous session.
  +        systemctl --user stop graphical-session.target graphical-session-pre.target
  +
           systemctl --user import-environment DBUS_SESSION_BUS_ADDRESS
           systemctl --user import-environment DISPLAY
           systemctl --user import-environment SSH_AUTH_SOCK
  
positive.code:       };
      };
  
      # For stuff that needs to start just before a graphical session
      # starts.
      systemd.user.targets.graphical-session-pre = {
        Unit = {
          Description = "Pre-graphical session";
        };
      };
  
      # A basic graphical session target. Apparently this will come
      # standard in future Systemd versions.
      systemd.user.targets.graphical-session = {
        Unit = {
          Description = "Graphical session";
        };
      };
  
  
negative.code:         systemctl --user import-environment XDG_DATA_DIRS
          systemctl --user import-environment XDG_RUNTIME_DIR
  
          systemctl --user start he-graphical-session.target
  
          ${cfg.initExtra}
  
  