summarylogtreecommitdiffstats
path: root/signal-desktop
blob: bb54f7eae0234dc2e45dd71e619bb686c777567e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

ps -e | grep '^.*gnome-session.*$' &>/dev/null
if [ $? -eq 0 ]; then
  pacman -Qi gnome-shell-extension-topicons-plus &>/dev/null
  if [ $? -ne 0 ]; then
    while [ "$1" = "--use-tray-icon" -o "$1" = "--start-in-tray" ]; do shift; done
    echo "Tray icons are no longer supported by default on Gnome."
    echo "If you want use the tray icon of Signal-Desktop,"
    echo "install gnome-shell-extension-topicons-plus from AUR."
    echo "Then re-login and enable this extension in 'Tweaks' (gnome-tweak-tool)."
  fi 
fi

exec /usr/lib/signal-desktop/signal-desktop "$@"