summaryrefslogtreecommitdiffstats
path: root/usr/share/mageiawelcome/mageiawelcome.py
diff options
context:
space:
mode:
Diffstat (limited to 'usr/share/mageiawelcome/mageiawelcome.py')
-rw-r--r--usr/share/mageiawelcome/mageiawelcome.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/usr/share/mageiawelcome/mageiawelcome.py b/usr/share/mageiawelcome/mageiawelcome.py
index f2660aa..a207e70 100644
--- a/usr/share/mageiawelcome/mageiawelcome.py
+++ b/usr/share/mageiawelcome/mageiawelcome.py
@@ -187,14 +187,8 @@ def main():
os.system("touch " + home + "/.mageiawelcome/norun.flag")
elif msg.startswith("http"):
os.system("xdg-open " + msg)
- elif msg == "irc":
- irc_client = get_irc_client()
- if irc_client == "none":
- if desktop == "KDE":
- subprocess.Popen("gurpmi konversation", shell=True)
- else:
- subprocess.Popen("gurpmi hexchat", shell=True)
- else: os.system(irc_client)
+ elif msg.startswith("irc"):
+ os.system("xdg-open " + msg)
elif msg.startswith("run"):
args = shlex.split(msg)
args.pop(0)