Sha256: 61b8e1bb0b776efc9e7cf1a0ea4fe7b780fa812a3b3cc34f063f0a4b5a1ccaf5
Contents?: true
Size: 553 Bytes
Versions: 4
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
4 entries across 4 versions & 1 rubygems