Created
September 18, 2009 12:23
-
-
Save auxesis/189026 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc "setup external displays" | |
task :displays do | |
system("xrandr --output VGA --mode 1024x768") | |
system("xrandr --output VGA --same-as LVDS") | |
end | |
desc "perform presentation" | |
task :perform => :displays do | |
options = "--transition Crossfade --transtime 250 -c persistent" | |
command = "keyjnote #{options} @#{File.dirname(__FILE__)}/order.txt" | |
system(command) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment