Open hypernova7 opened 2 weeks ago
Pretty cool. Care to publish the dotfiles or the relevant parts at least? :)
@MartyMcFlyInTheSky I do this
Edit the eww code to add the menu attribute, it converts a json to a gtk menu. The idea is that elkowar can make any widget able to carry this attribute to add context menus anywhere, but in a more beautiful way. Like this
(box
:menu (menu
(option
:label "Show weather"
:actionn "${EWW_CMD} update show_weather=true"
)
(option
:label "Submenu"
:submenu (menu
(option
:label "Item 1"
)
)
)
)
)
I currently edited the eww code to convert a json array to render the photo's context menu.