dotfiles/home/.config/eww/modules/window_name.yuck

16 lines
456 B
Plaintext
Raw Normal View History

2022-10-29 18:25:42 +00:00
(deflisten window_name
:initial `{"class":"","name":"","formatted_name":""}`
`scripts/window_name`)
; Consider making the window name clickable, opening up a full window that's showing
; the selected window details (class, unformatted name, and perhaps even more, like
; xwayland status, ...)
(defwidget window_name_module []
(box
:class "module window_name"
(label
:class "value"
:text "${window_name.formatted_name}")
))