Client#
- class ignis.client.IgnisClient#
Class for interacting with Ignis D-Bus interface. Provides the same functionality as the CLI.
Useful for scripts that run outside the Ignis process.
All methods will raise
IgnisNotRunningError
if Ignis is not running.Warning
Do not use this class inside the main Ignis process (e.g., in the config file). It's unnecessary; use
IgnisApp
instead.Example usage:
from ignis.client import IgnisClient client = IgnisClient() print(client.list_windows()) client.reload()
- open_window(window_name: str) None #
Same as
open_window()
.- Return type:
- close_window(window_name: str) None #
Same as
close_window()
.- Return type:
- toggle_window(window_name: str) None #
Same as
toggle_window()
.- Return type:
- inspector() None #
Same as
inspector()
.- Return type: