Skip to content

Instantly share code, notes, and snippets.

@b-ggs
Created November 20, 2015 08:15
Show Gist options
  • Save b-ggs/c3b710105d86d8545072 to your computer and use it in GitHub Desktop.
Save b-ggs/c3b710105d86d8545072 to your computer and use it in GitHub Desktop.
Get window class or window role:
xprop | grep CLASS
xprop | grep ROLE
Plug values into i3 config:
for_window [class="#{CLASS_NAME}"] move container to workspace #{WORKSPACE}
for_window [window_role="#{WINDOW_ROLE}"] move container to workspace #{WORKSPACE}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment