wmctrl

CLI for X Window Manager.

TLDR

List all windows, managed by the window manager

>_ wmctrl -l
copy

Switch to the first window whose (partial) title matches

>_ wmctrl -a [window_title]
copy

Move a window to the current workspace, raise it and give it focus

>_ wmctrl -R [window_title]
copy

Switch to a workspace

>_ wmctrl -s [workspace_number]
copy

Select a window and toggle fullscreen

>_ wmctrl -r [window_title] -b toggle,fullscreen
copy

Select a window a move it to a workspace

>_ wmctrl -r [window_title] -t [workspace_number]
copy

Copied to clipboard
free 100$ digital ocean credit