mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2026-01-22 10:57:55 +01:00
signal-desktop: actually think a bit
This commit is contained in:
parent
7541b1d16e
commit
104e2baecb
@ -1,12 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Signal desktop with Wayland, notification fix & tray
|
||||
# Two phone numbers so two Signals, with priority given for flatpak which probably exists
|
||||
|
||||
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 "$@" &
|
||||
if [ -f /var/lib/snapd/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
|
||||
|
||||
flatpak run org.signal.Signal --use-tray-icon --ozone-platform=wayland --enable-features=WaylandWindowDecorations "$@"
|
||||
|
||||
set +x
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user