💥 ags(bar/special-workspaces): add spacing between special workspaces

This commit is contained in:
retrozinndev
2025-04-25 15:56:34 -03:00
parent 6ef4f79f64
commit ce0a4a92a9
+1
View File
@@ -9,6 +9,7 @@ export const SpecialWorkspaces: (() => Gtk.Widget) = () => new Widget.EventBox({
workspaces.filter(ws => ws.id < 0).sort((a, b) => a.id - b.id).length > 0), workspaces.filter(ws => ws.id < 0).sort((a, b) => a.id - b.id).length > 0),
child: new Widget.Box({ child: new Widget.Box({
className: "special-workspaces", className: "special-workspaces",
spacing: 4,
children: bind(AstalHyprland.get_default(), "workspaces").as((workspaces) => children: bind(AstalHyprland.get_default(), "workspaces").as((workspaces) =>
workspaces.filter(ws => ws.id < 0).sort((a, b) => a.id - b.id).map((workspace) => workspaces.filter(ws => ws.id < 0).sort((a, b) => a.id - b.id).map((workspace) =>
new Widget.Button({ new Widget.Button({