An implementation of the freedesktop StatusNotifierItem specification (the successor of appindicators and systray) for eww.
This allows you to use many existing status indicators, e.g. for NetworkManager or Steam. Menus are supported via jgmenu.
- python3-gi
- jgmenu
- In host.py, adapt
render()
to use your icons and colors
Apart from that, feel free to change whatever you like. This repo is meant as an example, not a turn-key solution.
(deflisten tray "./scripts/host.py")
(defwidget tray []
(box :orientation "h" :space-evenly true
(for entry in tray
(button :onclick {entry.menu_cmd + " &"}
:onrightclick {entry.cmd + " &"}
(image :image-height 20
:path {entry.IconPath})))))