Releases: alebastr/sway-systemd
Releases · alebastr/sway-systemd
sway-systemd 0.4.1
Changes:
session:
- Export XCURSOR_THEME/SIZE to the systemd user session.
cgroups:
- Add onagre to list of launcher apps.
- Create X11 connection only if other ways to determine the PID failed.
locale1:
- Fix configuration update errors when XKB variant is set.
New Contributors
- @jkonecny12 made their first contribution in #30
- @sjmonson made their first contribution in #29
Full Changelog: v0.4.0...v0.4.1
sway-systemd 0.4.0
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 systemdConflicts
mechanism (#25).
locale1:
- Allow controlling a specific device with
--device <identifier>
sway-systemd 0.3.0
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
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
What's Changed
- Reset failed units before start by @Scrumplex in #11
New Contributors
- @Scrumplex made their first contribution in #11
Full Changelog: v0.2.0...v0.2.1
sway-systemd 0.2.0
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
andSIGINT
- Add
--add-env
/-E
argument to pass additional environment
variables to systemd.
sway-systemd 0.1.2, a bugfix 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
Initial release; confirmed working for one user on one machine.