This commit is contained in:
sankalp committed 2024-07-14 10:18:24 +05:45
1 parent 9ea0dd2cdc
commit 3d984cebbd
3 files changed
+54 -4

No files matched your search

+6 -1
View File
@@ -429,7 +429,12 @@ function TaskBar() {
return Widget.Box({
class_name: "tray",
spacing: 5,
children: hyprland.bind("clients").as(Clients)
setup: (self) => {
self.hook(hyprland, () => {
self.children = Clients(hyprland.clients);
self.visible = self.children.length > 0;
});
}
});
}