scripts/bash/comms.bash

59 lines
1.1 KiB
Bash
Raw Normal View History

#!/usr/bin/env bash
# Opening the communication apps with a single command without having to
# get them from dmenu so much. Excludes Firefox and Thunderbird as I have
# them inconsistently installed across systems
set -x
# XMPP
2020-10-11 13:09:51 +02:00
if hash dino 2>/dev/null; then
(dino&)
fi
if hash gajim 2>/dev/null; then
(gajim&)
else
(flatpak run org.gajim.Gajim --quiet&)
fi
# Jami, mostly P2P app
2020-10-11 13:09:51 +02:00
if hash jami-gnome 2>/dev/null; then
(jami-gnome -r&)
fi
# Telegram.org
if [ -f ~/.local/Telegram/Updater ]
then
(~/.local/Telegram/Updater -many -startintray&)
else
2020-10-11 13:09:51 +02:00
if hash telegram-desktop 2>/dev/null; then
(telegram-desktop -many -startintray&)
fi
fi
# Keybase
2020-10-11 13:09:51 +02:00
if hash run_keybase 2>/dev/null; then
(run_keybase&)
fi
# Steam
2020-10-11 13:09:51 +02:00
if hash steam 2>/dev/null; then
(STEAM_FRAME_FORCE_CLOSE=1 steam -silent&)
fi
# Signal
(flatpak run org.signal.Signal --start-in-tray&)
2020-09-17 11:02:00 +02:00
# Microsoft Teams
(flatpak run com.microsoft.Teams&)
2021-01-08 10:11:19 +01:00
# IRC/HexChat
(flatpak run io.github.Hexchat&)
2021-01-24 11:53:54 +01:00
# Matrix
(flatpak run im.riot.Riot --profile feneas&)
2021-01-24 11:53:54 +01:00
(flatpak run im.riot.Riot --profile T2L&)
(flatpak run im.riot.Riot --profile pirateriot&)
set +x