Sha256: b1feb1450b54960bdc3bfd3beb6696e0268a7b7c09118fb0a8f35e8e06a85704
Contents?: true
Size: 553 Bytes
Versions: 3
Compression:
Stored size: 553 Bytes
Contents
# frozen_string_literal: true module Fusuma module Plugin module Wmctrl # Manage Window class Window # @param method [String] "toggle" or "add" or "remove" def maximized(method:) "wmctrl -r :ACTIVE: -b #{method},maximized_vert,maximized_horz" end def close 'wmctrl -c :ACTIVE:' end # @param method [String] "toggle" or "add" or "remove" def fullscreen(method:) "wmctrl -r :ACTIVE: -b #{method},fullscreen" end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fusuma-plugin-wmctrl-1.3.0 | lib/fusuma/plugin/wmctrl/window.rb |
fusuma-plugin-wmctrl-1.2.0 | lib/fusuma/plugin/wmctrl/window.rb |
fusuma-plugin-wmctrl-1.1.0 | lib/fusuma/plugin/wmctrl/window.rb |