Skip to content

Instantly share code, notes, and snippets.

@mauimauer

mauimauer/kitt.sh

Created May 22, 2013
Embed
What would you like to do?
Turns your Chromebook Pixel into a futuristic 80s-style car. Ctrl+C to quit...could be considerably improved. Do it!
#!/bin/bash
ectool lightbar seq stop
ectool lightbar 4 00 00 00
while :
do
ectool lightbar 0 ff 00 00
sleep 0.08
ectool lightbar 1 ff 00 00
sleep 0.08
ectool lightbar 0 00 00 00
ectool lightbar 2 ff 00 00
sleep 0.08
ectool lightbar 1 00 00 00
ectool lightbar 3 ff 00 00
sleep 0.08
ectool lightbar 2 00 00 00
sleep 0.08
ectool lightbar 3 00 00 00
sleep 0.08
ectool lightbar 2 ff 00 00
ectool lightbar 1 ff 00 00
sleep 0.08
ectool lightbar 2 00 00 00
sleep 0.08
ectool lightbar 1 00 00 00
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment