dotfiles/graphical/config/eww/modules/bar/profile.yuck
2026-03-20 11:47:19 -07:00

5 lines
223 B
Text

(defwidget profile []
(button :onclick "sdu profile switch next"
:tooltip {jq(profile_info,'.name','r')}
:class "profile profile-${(jq(profile_info,'.name','r'))}"
{jq(profile_info,'.icon','r')}))