Skip to main content
100%

gateway_thing_pannel.kwinrule

✓ Published0🌍 Public
UUtopiah
Last edited Oct 31, 2020
Created on Oct 31, 2020

This example demonstrates a KWin window rule configuration that pins a Mozilla Firefox window displaying the WebThings Gateway dashboard to a fixed position and size on a localhost display. The rule, defined in the KWin scripting API’s window rule format, uses properties such as `position`, `size`, `noborder`, and `titlematch` to override default window behavior. It forces the browser window to appear at coordinates 1888,254 with dimensions 450x160 pixels, removing its border while keeping it above other windows. The configuration relies on KWin’s window matching logic, specifically targeting the window class `firefox` and its title, without invoking external JavaScript or data-viz libraries, as the visualization itself is rendered by Firefox’s built-in WebThings Gateway interface.

AI-generated description

Similar vizzes