dotfiles/home/.config/eww/modules/window_name.yuck
2022-11-20 03:14:18 +01:00

16 lines
456 B
Plaintext

(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}")
))