On Thu, 2026-03-05 at 20:41 +0000, Darac Marjal wrote:
>       if [[ $(loginctl show-session $id --property=Type) =~ (wayland|x11) ]]; 
> then

Why the check for wayland/X11 ?

Better to just try to send a notification and let it fail for sessions
that don't support it rather than sending nothing to a session that is
not wayland or X11 but still supports notifications.  (I'm sure not all
X11/wayland sessions support it either...)


-- 
Jan Claeys

(please don't CC me when replying to the list)

Reply via email to