eww: stuff!

This commit is contained in:
retrozinndev
2025-01-12 12:12:31 -03:00
parent 1e50585959
commit 0c41ca33b2
8 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -45,7 +45,7 @@
(button :class "url"
:onclick "wl-copy '${json_media.url}'"
:tooltip "Copy link to Clipboard"
:visible { json_media != "" && json_media.url != "null" }
:visible { json_media.url != "" && json_media.url != "null" }
"󰌷")
(button :class "previous"
:onclick "playerctl previous --player=${json_media.player}"
+1 -1
View File
@@ -7,7 +7,7 @@
:orientation "horizontal"
(image :class "icon"
:icon "${ json_active_window.initialClass =~ 'zen-(.*)$' ? 'zen-browser' : json_active_window.initialClass }"
:icon "${ json_active_window.initialClass =~ 'zen' ? 'zen-browser' : json_active_window.initialClass }"
:icon-size "toolbar")
(box :class "info"
+1
View File
@@ -53,6 +53,7 @@
:onunchecked "${ondisable}"
:visible { visible == "" || visible ? true : false }
:checked { enabled == "" || !enabled ? false : true }
:timeout "2s"
:class "tile-checkbox ${class}"
(box :class "tile"
+1 -1
View File
@@ -1,4 +1,4 @@
(defwidget separator [ ?orientation ?alpha ?style ]
(box :class "separator ${ orientation == '' || orientation == 'horizontal' ? 'horizontal' : 'vertical' }"
(box :class "separator ${ orientation == '' || orientation == 'horizontal' || orientation == "h" ? 'horizontal' : 'vertical' }"
:style "opacity: ${ alpha == '' ? 1 : alpha }; ${style}")
)