wait_for_map
wait_for_unmap
$x
+ kill_all_windows
);
=head1 NAME
return slurp($logfile);
}
+=head2 kill_all_windows
+
+Kills all windows to clean up between tests.
+
+=cut
+sub kill_all_windows {
+ # Sync in case not all windows are managed by i3 just yet.
+ sync_with_i3;
+ cmd '[title=".*"] kill';
+}
+
=head1 AUTHOR
Michael Stapelberg <michael@i3wm.org>