cff4fadd72
If i3-msg is invoked with -t subscribe, it will wait for the first event matching the given payload, before exiting. For instance, get the number of the next focused workspace with: i3-msg -t subscribe '[ "workspace" ]' | jshon -e current -e num Like inotifywait, the -m flag allows to wait indefinitely for events, instead of exiting right after receiving the first one. For example, continuously monitor the names of focused windows with: i3-msg -t subscribe -m '[ "window" ]' | jq .container.name |
||
---|---|---|
.. | ||
asciidoc.conf.in | ||
i3-config-wizard.man | ||
i3-dump-log.man | ||
i3-input.man | ||
i3-migrate-config-to-v4.man | ||
i3-msg.man | ||
i3-nagbar.man | ||
i3-sensible-editor.man | ||
i3-sensible-pager.man | ||
i3-sensible-terminal.man | ||
i3.man | ||
i3bar.man |