less than 1 minute read

When using i3: Applications can be moved automatically to specific workspaces at start of the app. Do the following:

  1. Start the app
  2. Run in a terminal xprop
  3. Click on the app
  4. Find WM_CLASS(STRING) in the terminal's output and copy the app's name (e.g. "Firefox")
  5. Append a line into ~/.i3/config such as assign [class="Firefox"] $ws1 where $ws1 is the workspace's name
  6. Reload i3's config, e.g. MOD+SHIFT+r