Skip to content

Script which shows/hides a windows the same way done in Guake Terminal.

Notifications You must be signed in to change notification settings

brauliobz/window_slide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

window_slide.rb

Script which shows/hides a specific window (like it is done in Guake Terminal).

To be used inside a global shortcut like F12 or Win+J.

Requirements

  • xdotool
  • wmctrl
  • ruby (I hate bash's confusing syntax)

Using

./window_slide.rb 'title' x,y,width,height 'command'

where:

  • title: unique title of window, or part of it;
  • command: command to execute if the window doesn't exist yet.

Examples

./window_slide.rb 'Finances.ods' 0,0,1920,800 'xdg-open ~/Finances.ods'

./window_slide.rb 'Example Domain' 100,100,500,500 'firefox --new-window http://example.com/'

About

Script which shows/hides a windows the same way done in Guake Terminal.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages