updated eww files and bash scripts

This commit is contained in:
willifan 2024-06-01 17:20:15 +02:00
parent 5a419c03f3
commit cd7e93374e
11 changed files with 119 additions and 60 deletions

View file

@ -1,5 +1,6 @@
(defwidget imageDPI [image size visible]
(overlay
:valign "center"
:width "${size}"
:height "${size}"
:visible "${visible}"
@ -53,28 +54,35 @@
:width 20
(box
:halign "center"
:valign "center"
:space-evenly false
(smallSpacer)
(label
:class {occupied > 0 ? "" : "unoccupiedWorkspace"}
:width 16
:valign "center"
:text {matches(id, "special:") ? substring(id, 8, 1) : id })
(imageDPI
:visible {occupied > 0 ? true : false}
:image "/usr/share/icons/Papirus-Dark/128x128/apps/${icon}"
:valign "center"
:image "/run/current-system/sw/share/icons/Papirus-Dark/128x128/apps/${icon}"
:size "16")
(smallSpacer))))
(defwidget smallSpacer []
(box
:valign "center"
:width 2))
(defwidget space []
(box
:width 5))
:valign "center"
:width 3))
(defwidget seperator []
(box
:valign "center"
(label
:valign "center"
:text "|"
)))
)))