Files
colorshell/eww/widgets/separator.yuck
T

5 lines
227 B
Plaintext

(defwidget separator [ ?orientation ?alpha ?style ]
(box :class "separator ${ orientation == '' || orientation == 'horizontal' ? 'horizontal' : 'vertical' }"
:style "opacity: ${ alpha == '' ? 1 : alpha }; ${style}")
)