diff --git a/src/Window.php b/src/Window.php index 5f5fed4..36f4fec 100644 --- a/src/Window.php +++ b/src/Window.php @@ -116,6 +116,16 @@ class Window return $this; } + public function windowMinimize() + { + exec("xdotool windowminimize {$this->windowId}"); + } + + public function windowRestore() + { + exec("xdotool windowmap {$this->windowId}"); + } + public function dump() { $size = $this->getWindowSize();