summarylogtreecommitdiffstats
path: root/tiddlywiki.py
diff options
context:
space:
mode:
authorJC Francois2018-04-19 22:21:30 +0200
committerJC Francois2018-04-19 22:21:30 +0200
commit57a068546de8ce3b99ca3a738ea0cda38eeaab34 (patch)
tree1d17cee272c6d540883ffecf9f0b8a264685858d /tiddlywiki.py
parent2c85b4889c3fd52ad0f74edd59406b577fd0519f (diff)
downloadaur-57a068546de8ce3b99ca3a738ea0cda38eeaab34.tar.gz
Updated launcher script
Diffstat (limited to 'tiddlywiki.py')
-rw-r--r--tiddlywiki.py15
1 files changed, 10 insertions, 5 deletions
diff --git a/tiddlywiki.py b/tiddlywiki.py
index 79bf6c85a1f6..1ccf5f02c4a8 100644
--- a/tiddlywiki.py
+++ b/tiddlywiki.py
@@ -1,9 +1,13 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
-# Alexander Rødseth <rodseth@gmail.com>
-# BSD license
-# 24032009
-# 28022011
+#
+# tiddlywiki launcher
+#
+# Version: 0.2
+# Author: Alexander F Rødseth <xyproto@archlinux.org>
+# Modified: 2018-04-05
+# License: MIT
+#
from sys import argv
from os.path import join, exists
@@ -22,7 +26,8 @@ def main():
if ('BROWSER' in environ) and environ['BROWSER']:
system(environ['BROWSER'] + " " + goal)
else:
- system("/usr/bin/gnome-open " + goal)
+ system("/usr/bin/xdg-open " + goal)
+
if __name__ == "__main__":
main()