debug
This commit is contained in:
@@ -22,7 +22,8 @@ class HyprlandWorkspaces(Gtk.Box):
|
|||||||
self.ws_nums = []
|
self.ws_nums = []
|
||||||
|
|
||||||
self.build_box()
|
self.build_box()
|
||||||
self.refresh(monitors, workspaces, clients, activewindow, activeworkspace)
|
if activeworkspace:
|
||||||
|
self.refresh(monitors, workspaces, clients, activewindow, activeworkspace)
|
||||||
|
|
||||||
def build_box(self):
|
def build_box(self):
|
||||||
check_key(self.settings, "num-ws", 10)
|
check_key(self.settings, "num-ws", 10)
|
||||||
@@ -115,8 +116,7 @@ class HyprlandWorkspaces(Gtk.Box):
|
|||||||
pinned = activewindow["pinned"]
|
pinned = activewindow["pinned"]
|
||||||
|
|
||||||
# fix #310
|
# fix #310
|
||||||
# active_ws = activeworkspace["id"]
|
active_ws = activeworkspace["id"]
|
||||||
active_ws = 0
|
|
||||||
|
|
||||||
for num in self.ws_nums:
|
for num in self.ws_nums:
|
||||||
if num in occupied_workspaces or self.settings["show-empty"]:
|
if num in occupied_workspaces or self.settings["show-empty"]:
|
||||||
|
Reference in New Issue
Block a user