[−][src]Module ksway::criteria
Enums
Criteria | |
OrFocused |
Functions
app_id | Compare value against the app id. Can be a regular expression. If value is focused, then the app id must be the same as that of the currently focused window. app_id are specific to Wayland applications. |
class | Compare value against the window class. Can be a regular expression. If value is focused, then the window class must be the same as that of the currently focused window. class are specific to X11 applications. |
con_id | Compare against the internal container ID, which you can find via IPC. If value is focused, then the id must be the same as that of the currently focused window. |
con_mark | Compare against the window marks. Can be a regular expression. |
floating | Matches floating windows. |
focused | |
id | Compare value against the X11 window ID. Must be numeric. |
instance | Compare value against the window instance. Can be a regular expression. If value is focused, then the window instance must be the same as that of the currently focused window. |
shell | Compare value against the window shell, such as "xdg_shell" or "xwayland". Can be a regular expression. If value is focused, then the shell must be the same as that of the currently focused window. |
tiling | Matches tiling windows. |
title | Compare against the window title. Can be a regular expression. If value is focused, then the window title must be the same as that of the currently focused window. |
urgent | Compares the urgent state of the window. Can be "first", "last", "latest", "newest", "oldest" or "recent". |
window_role | Compare against the window role (WM_WINDOW_ROLE). Can be a regular expression. If value is focused, then the window role must be the same as that of the currently focused window. |
window_type | Compare against the window type (_NET_WM_WINDOW_TYPE). Possible values are normal, dialog, utility, toolbar, splash, menu, dropdown_menu, popup_menu, tooltip and notification. |
workspace | Compare against the workspace name for this view. Can be a regular expression. If the value is focused, then all the views on the cur‐ rently focused workspace matches. |