diff options
author | noname <[email protected]> | 2025-03-06 19:05:48 +1100 |
---|---|---|
committer | noname <[email protected]> | 2025-03-06 19:22:31 +1100 |
commit | a15e80e56b14df97800f41384e60f7f5cb88c4ad (patch) | |
tree | 8b5604ce20fb134000aa3af97fb3180c89fd6756 /lib | |
parent | f89b080e57d8284e197de9236101a7df266219a9 (diff) |
remove scratch from workspaces
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sway/sway.vala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sway/sway.vala b/lib/sway/sway.vala index adcb0d9..dd10824 100644 --- a/lib/sway/sway.vala +++ b/lib/sway/sway.vala @@ -107,7 +107,9 @@ namespace AstalSway { switch (node.node_type) { case NodeType.WORKSPACE: var ws = node as Workspace; - new_workspaces.insert(ws.name, ws); + if (ws.name != "__i3_scratch") { + new_workspaces.insert(ws.name, ws); + } break; case NodeType.CONTAINER: case NodeType.WINDOW: |