Skip to content
thnikk edited this page May 17, 2024 · 2 revisions

You can add custom styling to the bar with CSS. Since pybar is built with GTK, it uses the GTK subset of CSS.

Bar class hierarchy

The main class hierarchy is as follows

  • window
    • .bar
      • .modules-left
      • .modules-center
      • .modules-right
        • .module

Widget class hierarchy

  • popover
    • .widget
      • .heading
      • .title
      • .box
        • .inner-box

GTK inspector

You can use the GTK inspector to find classes for objects by launching pybar with env GTK_DEBUG=interactive. This will spawn the inspector window alongside the bar.

Clone this wiki locally