Coverage for src/pi3bar/plugins/utils.py : 100.00%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1"""
2Plugins used by pi3bar.
3"""
4from pi3bar.plugins.base import Plugin
5from pi3bar.version import __version__
8class Version(Plugin):
9 """
10 Pi3Bar plugin to show the current pi3bar version.
12 It is shown for a moment after starting i3bar.
13 """
14 full_text = 'pi3bar version %s' % __version__
15 short_text = 'pi3bar %s' % __version__
18class NoPlugins(Plugin):
19 """
20 Pi3Bar plugin that displays "No Plugins found!" when no plugins are registered.
21 """
22 full_text = 'No Plugins found!'
23 short_text = 'No Plugins!'
24 color = '#ff0000'