💥 ags(bar/special-workspaces): add spacing between special workspaces
This commit is contained in:
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user