class Window
Manage Window
Public Instance Methods
close()
click to toggle source
# File lib/fusuma/plugin/wmctrl/window.rb, line 10 def close 'wmctrl -c :ACTIVE:' end
fullscreen(method:)
click to toggle source
@param method [String] “toggle” or “add” or “remove”
# File lib/fusuma/plugin/wmctrl/window.rb, line 15 def fullscreen(method:) "wmctrl -r :ACTIVE: -b #{method},fullscreen" end
maximized(method:)
click to toggle source
@param method [String] “toggle” or “add” or “remove”
# File lib/fusuma/plugin/wmctrl/window.rb, line 6 def maximized(method:) "wmctrl -r :ACTIVE: -b #{method},maximized_vert,maximized_horz" end