✨ eww: stuff!
This commit is contained in:
@@ -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}"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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,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}")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user