(uuid)
| 68 | } |
| 69 | |
| 70 | getWorkspaceSettingsByUUID(uuid) { |
| 71 | if (!this.workspaceSettingsCache[uuid]) { |
| 72 | let settings = new Gio.Settings({ |
| 73 | settings_schema: this.getSchemaSource().lookup(WORKSPACE_KEY, true), |
| 74 | path: `/org/gnome/shell/extensions/paperwm/workspaces/${uuid}/`, |
| 75 | }); |
| 76 | this.workspaceSettingsCache[uuid] = settings; |
| 77 | } |
| 78 | return this.workspaceSettingsCache[uuid]; |
| 79 | } |
| 80 | |
| 81 | /** Returns [[uuid, settings, name], ...] (Only used for debugging/development atm.) */ |
| 82 | findWorkspaceSettingsByName(regex) { |
no test coverage detected