signal-desktop: actually think a bit

This commit is contained in:
Aminda Suomalainen 2026-01-15 19:33:26 +02:00
parent 7541b1d16e
commit 104e2baecb
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -1,12 +1,15 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Signal desktop with Wayland, notification fix & tray # Signal desktop with Wayland, notification fix & tray
# Two phone numbers so two Signals, with priority given for flatpak which probably exists
set -x set -x
# --start-in-tray - would be nice, but then I cannot open it from there, thus --use-tray-icon # --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 "$@" &
if [ -f /var/lib/snapd/snap/bin/signal-desktop ]; then if [ -f /var/lib/snapd/snap/bin/signal-desktop ]; then
#snap set signal-desktop tray-icon=true #snap set signal-desktop tray-icon=true
snap run signal-desktop --use-tray-icon --ozone-platform=wayland --enable-features=WaylandWindowDecorations "$@" & snap run signal-desktop --use-tray-icon --ozone-platform=wayland --enable-features=WaylandWindowDecorations "$@" &
fi fi
flatpak run org.signal.Signal --use-tray-icon --ozone-platform=wayland --enable-features=WaylandWindowDecorations "$@"
set +x set +x