Skip to content

Commit

Permalink
Skip windows if they are in the correct workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
Nama committed Oct 16, 2022
1 parent 7580bc1 commit 53bff61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sway_workspaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ def get_app(tree, app):
if not tree_app:
couldnt_find.append(app)
continue
elif tree_app.workspace().name == ws_name:
continue
touch_app(tree_app)
if ws_orientiation == 'horizontal':
o = 'h'
Expand Down

0 comments on commit 53bff61

Please sign in to comment.