summaryrefslogtreecommitdiff
path: root/scripts/animatedModel.sh
blob: d22b6c2c3366acf04f632f5f4b927c71eb2ef04f (plain)
1
2
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