Gist c40c213926a54197db25
This example shows a configuration file for Devilspie2, a window management tool, that programmatically arranges application windows on a Linux desktop. The Lua script defines rules for positioning, sizing, and setting workspace and layering properties for specific applications such as Terminator, Zim, MPlayer, and various file managers. The code uses Devilspie2's window inspection APIs like `get_window_class()`, `get_application_name()`, and `get_window_name()` to identify windows, then applies actions such as `set_window_geometry()`, `center()`, `set_on_top()`, and `change_workspace()`. The configuration demonstrates rule-based desktop automation rather than data visualization, relying on window metadata to conditionally configure the desktop environment.