Class: Window
- Inherits:
-
Object
- Object
- Window
- Defined in:
- lib/fusuma/plugin/wmctrl/window.rb
Overview
Manage Window
Instance Method Summary collapse
Instance Method Details
#close ⇒ Object
10 11 12 |
# File 'lib/fusuma/plugin/wmctrl/window.rb', line 10 def close 'wmctrl -c :ACTIVE:' end |
#fullscreen(method:) ⇒ Object
15 16 17 |
# File 'lib/fusuma/plugin/wmctrl/window.rb', line 15 def fullscreen(method:) "wmctrl -r :ACTIVE: -b #{method},fullscreen" end |
#maximized(method:) ⇒ Object
6 7 8 |
# File 'lib/fusuma/plugin/wmctrl/window.rb', line 6 def maximized(method:) "wmctrl -r :ACTIVE: -b #{method},maximized_vert,maximized_horz" end |