summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/model.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/model.sh b/scripts/model.sh
new file mode 100755
index 0000000..67df481
--- /dev/null
+++ b/scripts/model.sh
@@ -0,0 +1,3 @@
+dbus-send --type=method_call --dest=org.freedesktop.compiz /org/freedesktop/compiz/cubedbus/allscreens/add org.freedesktop.compiz.activate string:'root' int32:`xwininfo -root | grep id: | awk '{ print $4 }'` string:'type' int32:5 string:'name' string:'root.model' string:'file' string:$1
+
+#Run this in terminal - accepts as argument 1 .obj file