8000 GitHub - alvsz/eww-tray: Freedesktop's StatusNotifierHost for eww · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.
alvszPublic archive

About

Freedesktop's StatusNotifierHost for eww

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

53 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Freedesktop's StatusNotifierHost for eww

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0