class libqtile.widget.Playerctl(*args, **kwargs)
Supported bar orientations: horizontal only
Configuration options
key |
default |
description |
---|---|---|
|
|
Replaces Icon of first_app with the second Default: replaces Spotifyd(not found) icon with spotify Icon (if installed) |
|
|
Widget background color |
|
|
Distance between bottom of the Bar Icon |
|
|
shows Icon with the currently selected player if False Controlls always all Player at once |
|
|
Default icon if no icon for the given Application found |
|
|
distance Betwen Icons distance multiplier*icon_width Play/Pause |
|
|
To format the string returned by the widget. For example, if the clock widget returns '08:46' we can do fmt='time {}' do print 'time 08:46' on the widget. To format the individual strings like hour and minutes use the format paramater of the widget (if it has one) |
|
|
Default font |
|
|
font shadow color, default is None(no shadow) |
|
|
Font size. Calculated if None. |
|
|
Foreground colour |
|
|
Color of Play Pause Next... Icons |
|
|
Order of Icons (1,2,3) represents prev -> Pl/pause -> next |
|
|
Width of Play/Pause(1) and Next/Pref(2) Buttons |
|
|
White Blacklist dependent on list_type. playerctl player name "all" Black/Whitelists the general Controll |
|
|
0 all Applications, 1 Blacklist,2 Whitelist |
|
|
Whether or not to use pango markup |
|
|
Maximum number of characters to display in widget. |
|
|
Dict of mouse button press callback functions. Accepts functions and |
|
|
Padding. Calculated if None. |
|
|
path to icons format {"player_name": "source to icon"} |
|
|
Whether text should be scrolled. When True, you must set the widget's |
|
|
Whether text should scroll completely away (True) or stop when the end of the text is shown (False) |
|
|
Number of seconds to pause before starting scrolling and restarting/clearing text at end |
|
|
Whether the widget should hide when scrolling has finished |
|
|
Time in seconds before next scrolling step |
|
|
Whether text should restart scrolling once the text has ended |
|
|
Number of pixels to scroll with each step |
|
|
show Playervolume like the Volume Widget |
|
|
Show next Track button |
|
|
Show previous Track button |
|
|
Distance between top of the Bar Icon |
|
|
Update time in seconds. |