Skip to content

xi/polybar-status-indicators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An implementation of the freedesktop StatusNotifierItem specification (the successor of appindicators and systray) for polybar.

This allows you to use many existing status indicators, e.g. for NetworkManager or Steam. Menus are supported via rofi.

icons rofi showing a NetworkManager menu

Dependencies

  • python3-gi
  • rofi (or a similar dmenu-like tool)

Configuration

  • In host.py, adapt render() to use your icons and colors
  • In menu.py, adapt DMENU_CMD to your preferred dmenu-like tool

Apart from that, feel free to change whatever you like. This repo is meant as an example, not a turn-key solution.

Module

[module/indicators]
type = custom/script
exec = python3 ~/polybar-status-indicators/host.py 2> /dev/null
tail = true