nixos-configs/eww/closer/closer.yuck

9 lines
256 B
Text

(defwidget closer []
(eventbox :onclick "$HOME/.config/eww/scripts/close-opened.sh && eww close closer"))
(defwindow closer
:monitor 0
:geometry (geometry :width "100%" :height "100%")
:stacking "overlay"
:focusable false
(closer :window ""))