Linux Desktop CLI (Lidecli) is an unified command-line tool to interact with X, Wayland, Window Managers and Desktop Environments. The goal of Lidecli is to provide a library of commands to interact with the DE/WM you use.
LideCLI @ GitHub.