mirror of
https://github.com/swaywm/sway.git
synced 2026-04-26 06:46:26 -04:00
Add a criterion that matches idle inhibitors in all their various states and types. Add call sites at creation and destruction, either via the protocol or due to command call. This allows to trigger actions based on idle inhibitor state changes on windows. Example config combined with keyboard shortcuts inhibitor criterion: for_window [shortcuts_inhibitor=inactive] title_format !-%title for_window [shortcuts_inhibitor=active] title_format !+%title for_window [idle_inhibitor=active] title_format ^%title for_window [idle_inhibitor=none shortcuts_inhibitor=absent] title_format %title Signed-off-by: Michael Weiser <michael.weiser@gmx.de> |
||
|---|---|---|
| .. | ||
| sway | ||
| swaybar | ||
| swaynag | ||
| background-image.h | ||
| cairo.h | ||
| ipc-client.h | ||
| ipc.h | ||
| list.h | ||
| log.h | ||
| loop.h | ||
| meson.build | ||
| pango.h | ||
| pool-buffer.h | ||
| stringop.h | ||
| util.h | ||