summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Napora <napcok@gmail.com>2013-10-08 19:30:56 +0200
committerDaniel Napora <napcok@gmail.com>2013-10-08 19:30:56 +0200
commit16b5eef8c362887d339a409ff48111730ee489b3 (patch)
treed42270387898173ce062089632e51ad04f88aa6b
parent953fd3e875552bafdb7b7f0ae18d2a68c6d40dbb (diff)
downloadmageiawelcome-16b5eef8c362887d339a409ff48111730ee489b3.tar
mageiawelcome-16b5eef8c362887d339a409ff48111730ee489b3.tar.gz
mageiawelcome-16b5eef8c362887d339a409ff48111730ee489b3.tar.bz2
mageiawelcome-16b5eef8c362887d339a409ff48111730ee489b3.tar.xz
mageiawelcome-16b5eef8c362887d339a409ff48111730ee489b3.zip
Terminal now starts on /home/dan directory
-rw-r--r--usr/share/mageiawelcome/mageiawelcome.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/share/mageiawelcome/mageiawelcome.py b/usr/share/mageiawelcome/mageiawelcome.py
index c65114b..c81bde8 100644
--- a/usr/share/mageiawelcome/mageiawelcome.py
+++ b/usr/share/mageiawelcome/mageiawelcome.py
@@ -130,6 +130,9 @@ def main():
elif msg.startswith("run"):
args = shlex.split(msg)
args.pop(0)
+ print args
+ if args[0] == "xvt":
+ os.chdir(home)
subprocess.Popen(args)
elif msg.startswith("gurpmi"):