summaryrefslogtreecommitdiff
path: root/scripts/animatedModel.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/animatedModel.sh')
-rw-r--r--scripts/animatedModel.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/animatedModel.sh b/scripts/animatedModel.sh
new file mode 100644
index 0000000..d22b6c2
--- /dev/null
+++ b/scripts/animatedModel.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 string:'rotateY' double:1.0 string:'rotateSpeed' double:1.0 string:'animation' boolean:true string:'r' double:1.0 string:'g' double:1.0 string:'b' double:1.0 string:'a' double:1.0 string:'scale' double:1 string:'numZeros' int32:2 string:'fps' int32:15 string:'start' int32:0
+
+#Run this in terminal - accepts as argument 1 .obj file