Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.07 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.07 KB

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.

icons jgmenu showing a polychromatic menu

Dependencies

  • python3-gi
  • jgmenu

Configuration

  • 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.

Module

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