#!/usr/bin/python3

import os

if os.path.exists(os.path.expanduser("~/.local/share/ice/firefox/OnlineChat4519")):
	os.system("sh -c 'XAPP_FORCE_GTKWINDOW_ICON=\"mintchat\" firefox --class WebApp-OnlineChat4519 --name WebApp-OnlineChat4519 --profile ~/.local/share/ice/firefox/OnlineChat4519 --no-remote \"https://linuxmint.com/matrix.php\"'")
else:
	os.system("xdg-open https://linuxmint.com/matrix.php")
