Skip to content

focusurgent

Bakkeby edited this page Feb 27, 2024 · 3 revisions
Function Expected argument Default keybindings
focusurgent N/A N/A

The focusurgent function changes focus to the first client found that is marked as urgent.

A client may be marked as urgent via window management hints, more specifically when:

  • a client message of type _NET_WM_STATE is received and the state is _NET_WM_DEMANDS_ATTENTION
  • a client message of type _NET_ACTIVE_WINDOW is received and the FocusOnNetActive functionality is disabled
  • a property notification indicating a change in window management hints and the hints have the XUrgencyHint bit set
  • the window management hints of the window, when the window is first managed, has the XUrgencyHint bit set

There are no default keybindings for this function.

The urgent flag can be artificially set on a window with the following command:

$ xdotool selectwindow -- set_window --urgency 1

External command:

duskc run_command focusurgent  # focus on the first urgent window found

Back to Functions > Focus.

Clone this wiki locally