remark about some Desktop session processes

2023-12-06 Thread Patrice Duroux
Hi, I have a system with both Sway and GNOME sessions available. But if I log in using a GNOME one, I can see the process like: patrice 3866 0.0 0.0 18824 14212 ?Ss 19:07 0:00 /usr/bin/foot --server=3 $ apt-file search --fixed-string /usr/bin/foot foot: /usr/bin/foot $ apt --

Re: remark about some Desktop session processes

2023-12-06 Thread Vladimir Kudrya
The best way I see it, is to install such units as dependencies for specific DEs, if DEs themselves can be represented as units. Stock sway and other wlroots compositors in debian do not do that. But at least this is how I solved this situation in my wayland session manager: https://github.com

Re: remark about some Desktop session processes

2023-12-06 Thread Vladimir Kudrya
AFAIK GNOME session manages some kind of systemd user unit structure of its own, so maybe `Conflicts=`, possibly with some ordering, can be used on the side of waybar.service to point to some of GNOMEs units. On 06/12/2023 22.18, Vladimir Kudrya wrote: The best way I see it, is to install such

Re: remark about some Desktop session processes

2023-12-06 Thread Vladimir Kudrya
Found another solution: ExecCondition=sh -c 'case "A:${XDG_CURRENT_DESKTOP}:Z" in *:wlroots:* | *:[Ss]way:* | *:[Ll]abwc:* | *:[Ww]ayfire:*) exit 0 ;; *) exit 1 ;; esac' Or negate GNOME values of XDG_CURRENT_DESKTOP the same way. On 06/12/2023 22.38, Vladimir Kudrya wrote: AFAIK GNOME session