debug
This commit is contained in:
@@ -347,10 +347,11 @@ def instantiate_content(panel, container, content_list, icons_path=""):
|
||||
if item == "hyprland-workspaces":
|
||||
if his:
|
||||
if "hyprland-workspaces" in panel:
|
||||
# workspaces = HyprlandWorkspaces(panel["hyprland-workspaces"], monitors, workspaces, clients,
|
||||
# activewindow, activeworkspaces, icons_path=icons_path)
|
||||
# container.pack_start(workspaces, False, False, panel["items-padding"])
|
||||
# common.h_workspaces_list.append(workspaces)
|
||||
print("activeworkspace:", activeworkspace)
|
||||
workspaces = HyprlandWorkspaces(panel["hyprland-workspaces"], monitors, workspaces, clients,
|
||||
activewindow, activeworkspace, icons_path=icons_path)
|
||||
container.pack_start(workspaces, False, False, panel["items-padding"])
|
||||
common.h_workspaces_list.append(workspaces)
|
||||
print("Successfully instantiated hyprland-workspaces")
|
||||
else:
|
||||
print("'hyprland-workspaces' not defined in this panel instance")
|
||||
|
Reference in New Issue
Block a user