From 32966228e3bc9b52784108ff10a5e748bf84a4e5 Mon Sep 17 00:00:00 2001 From: Michael Bradley Date: Sun, 12 May 2024 20:36:05 -0400 Subject: [PATCH] Fix first workspace corner border --- eww/eww.yuck | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eww/eww.yuck b/eww/eww.yuck index 6852390..e4e568b 100644 --- a/eww/eww.yuck +++ b/eww/eww.yuck @@ -17,10 +17,10 @@ (deflisten workspaces :initial "[]" "~/.config/eww/scripts/get-workspaces") -(defwidget workspaces [monitor] +(defwidget workspaces [monitor ?all] (box :space-evenly false :class "workspaces" (for workspace in workspaces - (eventbox :onclick "hyprctl dispatch workspace ${workspace.id}" :visible {workspace.monitor == monitor} :class "${workspace.active ? "current" : ""} ${workspace.first ? "first" : ""}" :cursor "pointer" + (eventbox :onclick "hyprctl dispatch workspace ${workspace.id}" :visible {(all ?: false) || (workspace.monitor == monitor)} :class "${workspace.active ? "current" : ""} ${workspace.first ? "first" : ""}" :cursor "pointer" (label :text {workspace.name}))))) @@ -184,7 +184,7 @@ (defwidget laptop_bar [] (centerbox :class "bar" :orientation "h" (box :class "left" :orientation "h" :space-evenly false :halign "begin" - (workspaces :monitor "eDP-1")(sep) + (workspaces :monitor "eDP-1" :all true)(sep) (window)) (systray :pack_direction "ltr" :icon-size 20) (box :class "right" :orientation "h" :space-evenly false :halign "end"