(defwidget revealer-on-hover [var varname ?class ?duration ?transition] (box :class "${class} revealer-on-hover" :orientation "h" :space-evenly false (eventbox :class "eventbox" :onhover "${EWW_CMD} update ${varname}=true" :onhoverlost "${EWW_CMD} update ${varname}=false" (box :space-evenly false (revealer :reveal var :transition {transition ?: "slideright"} :duration {duration ?: "500ms"} (children :nth 0)) (children :nth 1))))) (include "./bar.yuck") (include "./wall.yuck") (include "./applauncher.yuck") (include "./powermenu.yuck")