Skip to content

Detect workspace change #4634

Answered by orestisfl
RZarifov asked this question in Q&A
Oct 28, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Yes, see the IPC interface: https://i3wm.org/docs/ipc.html

You can use i3-msg -t subscribe -m '["workspace"]' and parse the json output or a third party library, e.g. https://github.com/altdesktop/i3ipc-python

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Airblader
Comment options

Answer selected by Airblader
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants