6 Commits (a889b36b6ea422fac528ca988fd4b48635247a8e)

Author SHA1 Message Date
Brett Cornwall 2f9c63b053
Really really fix the XDG_CURRENT_DESKTOP export; upgpkg: 1:1.8.1-3 11 months ago
Brett Cornwall c85a455eb6
Support New portals req for XDG_CURRENT_DESKTOP
As of version 1.17, xdg-desktop-portal requires desktops to declare
which portals should be used. For Sway, this requires a file
/usr/share/xdg-desktop-portal/sway-portals.conf (or a local user
config).

A reasonable default is to use GTK for the file picker (as wlr doesn't
have file picker support) and wlr for screencast/screenshot support.
Fedora does this similarly. [1]

Upstream is not interested in shipping a configuration file [2] so we
need to do it downstream.

Fixes #72297
Fixes #79883

[1] https://src.fedoraproject.org/rpms/sway/blob/rawhide/f/sway-portals.conf
[2] https://github.com/swaywm/sway/issues/7773
11 months ago
Brett Cornwall 03eeb2da95 Export XDG_CURRENT_DESKTOP to systemd user environment
Fixes FS#72297
3 years ago
Brett Cornwall 0e0461ee54 rm XCURSOR_SIZE env import; add --systemd to dbus env activate 5 years ago
Brett Cornwall f704940d8c 50-systemd-user.conf: silence hash stderr output 5 years ago
Brett Cornwall 97e0cd631a rename conf.d -> config.d; convert systemd script to conf
conf.d was created to house 10-systemd.sh but the default config references
config.d.

the shell script was also converted to sway configuration. Same result,
different format; It seems more right to the author.

See FS#63021 for more details
5 years ago