Skip to content

lefty313/windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

windows

Ruby framework for manipulating Xwindow windows

This video shows how it works https://www.youtube.com/watch?v=GBjkORt2Vhc

Installation for unix system

  sudo apt-get install libx11-dev libglib2.0-dev libxmu-dev
  gem install windows

Usage

require 'windows'

p = Windows::Project.new(:default,'~')

p.open_window('chromium-browser').move(:left)
p.open_window('sublime-text-2 .').move(:right)
p.open_window('gnome-terminal').move(:bottom_right).on_top

sleep 5
p.close

About

Ruby framework for manipulating operating system windows

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages