This commit is contained in:
piotr
2024-07-16 01:12:50 +02:00
parent e096a75dd5
commit 770f0bd393

View File

@@ -7,7 +7,6 @@ from nwg_panel.tools import check_key, update_image_fallback_desktop, hyprctl
class HyprlandWorkspaces(Gtk.Box):
def __init__(self, settings, monitors, workspaces, clients, activewindow, activeworkspace, icons_path):
print(">>> activeworkspace:", activeworkspace)
Gtk.Box.__init__(self, orientation=Gtk.Orientation.HORIZONTAL, spacing=0)
self.settings = settings
self.num_box = Gtk.Box.new(Gtk.Orientation.HORIZONTAL, 0)
@@ -117,6 +116,7 @@ class HyprlandWorkspaces(Gtk.Box):
# fix #310
active_ws = activeworkspace["id"]
print(">>> active_ws", active_ws)
for num in self.ws_nums:
if num in occupied_workspaces or self.settings["show-empty"]: