Files
colorshell/eww/widgets/window.yuck
T

9 lines
243 B
Plaintext

(deflisten active_window :initial ""
`sh -c 'source ./scripts/window.sh; get_active_window'`)
(defwidget window []
(button :visible { active_window.class == "null" ? false : true }
"${active_window.class}: ${active_window.title}")
)