Skip to content

Releases: alebastr/sway-systemd

sway-systemd 0.4.0

20 Jun 03:06
v0.4.0
73c8870
Compare
Choose a tag to compare

Changes:

Breaking: complete rewrite of the meson.build.

  • All of the components are installed unconditionally
  • session component is always enabled. The rest are strictly opt-in.
  • Component configs enabled with -Dautoload-configs will be installed into the default snippet directory for sway (/etc/sway/config.d).

If you are a distribution packager, please read the discussion in #20 before making a decision on the value for -Dautoload-configs=.
tl;dr: -Dautoload-configs='cgroups' has the least surprising and invasive behavior. Anything additional may have unwanted side effects.

session:

  • Enable cleanup on logout by default. It's been enabled in the default config since the very beginning, so the change is noop for most of the users.
    A new option --no-cleanup is introduced to opt-out of this behavior.
  • Improve session cleanup on logout with sway-session-shutdown.target that uses systemd Conflicts mechanism (#25).

locale1:

  • Allow controlling a specific device with --device <identifier>

sway-systemd 0.3.0

20 Feb 20:32
v0.3.0
226aefb
Compare
Choose a tag to compare

Changes:

cgroups:

  • Catch some errors commonly observed on retrace.fedoraproject.org

session:

  • Fix regression caused by excessively strict existing session detection

locale1:

  • New component that applies system-wide keyboard layout configuration from org.freedesktop.locale1 systemd interface to Sway.
  • Not installed or enabled by default, see the corresponding section of README.md.

sway-xdg-autostart:

  • New component that works around some quirks of StatusNotifierItem and systemd XDG autostart interaction.
  • Not installed or enabled by default, see the corresponding section of README.md.

sway-systemd 0.2.2

27 Feb 03:02
v0.2.2
f5feb1e
Compare
Choose a tag to compare

What's changed

cgroups:

  • Improve escaping of systemd unit names

session:

  • Add disclaimer about mutiple sway sessions
  • Avoid overwriting the variables set by another session
  • Import XDG_SESSION_DESKTOP and DESKTOP_SESSION

Full Changelog: v0.2.1...v0.2.2

v0.2.1

29 Nov 01:10
v0.2.1
0e87499
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.0...v0.2.1

sway-systemd 0.2.0

09 Aug 07:29
v0.2.0
cd7d0a8
Compare
Choose a tag to compare

Changes:

cgroups:

  • Get PIDs for X11 applications via X-Resource extension if available (requires python-xlib 0.30).
    Fixes isolation of apps without _NET_WM_PID on i3 and sway < 1.6.
  • Add --loglevel parameter.
  • Drop homemade retry decorator in favor of tenacity
  • Fix cgroup assignment for applications without app_id/WM_CLASS.
  • Process applications in cgroups of a known launchers (see 5a9810f for details).
    Currently configured for nwgbar/nwgdmenu/nwggrid as nwg-launchers before 0.5.0 were using regular GTK windows.

session:

  • Run cleanup code on SIGTERM and SIGINT
  • Add --add-env/-E argument to pass additional environment
    variables to systemd.

sway-systemd 0.1.2, a bugfix release

30 Apr 05:33
v0.1.2
1b585f8
Compare
Choose a tag to compare
Pre-release

Changes:

  • Set XDG_SESSION_TYPE=wayland for systemd services
  • Handle exception on IPC connection loss
  • Try X11 display connection only once and remember result
  • Other minor refactorings

sway-systemd 0.1.0 Works For Me

19 Feb 04:13
v0.1.0
db6e484
Compare
Choose a tag to compare
Pre-release

Initial release; confirmed working for one user on one machine.