dotfiles/config.d/95-xdg-desktop-autostart.conf

15 lines
604 B
Text
Raw Normal View History

2024-08-12 16:00:40 +02:00
# Wait until a StatusNotifierItem tray implementation is available and
# process XDG autostart entries.
#
# This horror has to exist because
#
# - SNI spec mandates that if `IsStatusNotifierHostRegistered` is not set,
# the client should fall back to the Freedesktop System Tray specification
# (XEmbed).
# - There are actual implementations that take this seriously and implement
# a fallback *even if* StatusNotifierWatcher is already DBus-activated.
# - https://github.com/systemd/systemd/issues/3750
#
exec $exedir/wait-sni-ready && \
systemctl --user start sway-xdg-autostart.target