From 25e521f4ad2305791abc5d07c5d816a862be7c74 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 25 Mar 2025 11:00:42 +0200 Subject: [PATCH] signal-desktop: initial snap support --- bash/usr-local-bin/signal-desktop | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bash/usr-local-bin/signal-desktop b/bash/usr-local-bin/signal-desktop index 6322b48..c5a2e4d 100755 --- a/bash/usr-local-bin/signal-desktop +++ b/bash/usr-local-bin/signal-desktop @@ -4,5 +4,9 @@ set -x # --start-in-tray - would be nice, but then I cannot open it from there, thus --use-tray-icon -flatpak run org.signal.Signal --use-tray-icon --ozone-platform=wayland --enable-features=WaylandWindowDecorations "$@" +(flatpak run org.signal.Signal --use-tray-icon --ozone-platform=wayland --enable-features=WaylandWindowDecorations "$@" &) +if [ -f /snap/bin/signal-desktop ]; then + #snap set signal-desktop tray-icon=true + (snap run signal-desktop --use-tray-icon --ozone-platform=wayland --enable-features=WaylandWindowDecorations "$@" &) +fi set +x