summarylogtreecommitdiffstats
path: root/tboi-wotl.sh
diff options
context:
space:
mode:
authorkaptoxic2015-09-08 15:48:10 -0400
committerkaptoxic2015-09-08 15:48:10 -0400
commitafaaa64fc4036b8003e5a502575618de44155cbd (patch)
tree58a8f3d8b8eb782dd2271b595f661f29215ca968 /tboi-wotl.sh
downloadaur-tboi-wotl.tar.gz
Initial import
Diffstat (limited to 'tboi-wotl.sh')
-rw-r--r--tboi-wotl.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tboi-wotl.sh b/tboi-wotl.sh
new file mode 100644
index 000000000000..f05eaa78e7e8
--- /dev/null
+++ b/tboi-wotl.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+_desktopfile="$(locate $(xdg-settings get default-web-browser) | tail -n 1)"
+_swf="/usr/share/tboi-wotl/tboi-wotl.swf"
+
+exec $(grep "^Exec=" $_desktopfile | head -n 1 | sed "s/Exec=//" | sed "s:%[Uu]:$_swf:") \ No newline at end of file