openSUSE / openSUSEway

dotfiles for Sway on openSUSE
MIT License
94 stars 16 forks source link

sway-session.target systemd packaging error #95

Closed FilippoBonazziSUSE closed 1 year ago

FilippoBonazziSUSE commented 1 year ago

Hi, I have been made aware that the sway-session.target systemd target should be installed as part of the user systemd session, and not the system one. See https://github.com/ErikReider/SwayNotificationCenter/issues/205

This is also why the swaync user service, although enabled, fails to autostart in my sway session. The graphical-session.target is never reached.

I am going to submit a PR with the following fixes:

  1. Install the sway-session.target file under /usr/lib/systemd/user/sway-session.target instead of /usr/lib/systemd/system/sway-session.target
  2. Start the sway-session.target somewhere in our startup chain, such as sway-run.sh
FilippoBonazziSUSE commented 1 year ago

I still need to address point 2, will do when I can