From a7cc3cd4b83f5b34c46db734b80fb425183114b1 Mon Sep 17 00:00:00 2001 From: fdev31 Date: Sun, 30 Apr 2023 22:25:22 +0200 Subject: [PATCH] Fix max workspace number --- pyprland/plugins/workspaces_follow_focus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyprland/plugins/workspaces_follow_focus.py b/pyprland/plugins/workspaces_follow_focus.py index 946425d..0a9e2b2 100644 --- a/pyprland/plugins/workspaces_follow_focus.py +++ b/pyprland/plugins/workspaces_follow_focus.py @@ -7,7 +7,7 @@ from ..ipc import hyprctlJSON, hyprctl class Extension(Plugin): async def load_config(self, 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): monitor_id, workspace_id = screenid_index.split(",")