Fix max workspace number
This commit is contained in:
parent
cb11493203
commit
a7cc3cd4b8
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ from ..ipc import hyprctlJSON, hyprctl
|
||||||
class Extension(Plugin):
|
class Extension(Plugin):
|
||||||
async def load_config(self, config):
|
async def load_config(self, config):
|
||||||
await super().load_config(config)
|
await super().load_config(config)
|
||||||
self.workspace_list = list(range(1, self.config.get("max_workspaces", 10)))
|
self.workspace_list = list(range(1, self.config.get("max_workspaces", 10) + 1))
|
||||||
|
|
||||||
async def event_focusedmon(self, screenid_index):
|
async def event_focusedmon(self, screenid_index):
|
||||||
monitor_id, workspace_id = screenid_index.split(",")
|
monitor_id, workspace_id = screenid_index.split(",")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue