Cycle through layouts

view full story

http://aerosuidae.net – Added Howto category correctly New page[[Category:Howto]] [[Category:Scripts]] This ruby script cycles through layouts in the style of xmonad, awesome, and other dynamic window managers. You can easily modify it to get your own set of layouts. It keeps track of the previous layout by adding or deleting some empty dot files to your home directory. <pre> #!/usr/bin/ruby file1 = "~/.musca-layout-1" file2 = "~/.musca-layout-2" def musca_run f system "musca -c \"#{f}\"&quo (Software)