Fix first workspace corner border
This commit is contained in:
parent
e67c77fba5
commit
32966228e3
1 changed files with 3 additions and 3 deletions
|
@ -17,10 +17,10 @@
|
||||||
|
|
||||||
|
|
||||||
(deflisten workspaces :initial "[]" "~/.config/eww/scripts/get-workspaces")
|
(deflisten workspaces :initial "[]" "~/.config/eww/scripts/get-workspaces")
|
||||||
(defwidget workspaces [monitor]
|
(defwidget workspaces [monitor ?all]
|
||||||
(box :space-evenly false :class "workspaces"
|
(box :space-evenly false :class "workspaces"
|
||||||
(for workspace in 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})))))
|
(label :text {workspace.name})))))
|
||||||
|
|
||||||
|
|
||||||
|
@ -184,7 +184,7 @@
|
||||||
(defwidget laptop_bar []
|
(defwidget laptop_bar []
|
||||||
(centerbox :class "bar" :orientation "h"
|
(centerbox :class "bar" :orientation "h"
|
||||||
(box :class "left" :orientation "h" :space-evenly false :halign "begin"
|
(box :class "left" :orientation "h" :space-evenly false :halign "begin"
|
||||||
(workspaces :monitor "eDP-1")(sep)
|
(workspaces :monitor "eDP-1" :all true)(sep)
|
||||||
(window))
|
(window))
|
||||||
(systray :pack_direction "ltr" :icon-size 20)
|
(systray :pack_direction "ltr" :icon-size 20)
|
||||||
(box :class "right" :orientation "h" :space-evenly false :halign "end"
|
(box :class "right" :orientation "h" :space-evenly false :halign "end"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue