diff options
| author | rixx <rixx-git@cutebit.de> | 2015-03-30 15:58:34 +0200 |
|---|---|---|
| committer | rixx <rixx-git@cutebit.de> | 2015-03-30 15:58:34 +0200 |
| commit | 7b535275cb776ccc3340697a10f18ab157434a28 (patch) | |
| tree | cf00b34d7f394274484c69da45e18932e893068e | |
| parent | f72b0fd5e63f3e0e01ad07de15e227cd84fc9330 (diff) | |
change list format to comma separated
| -rw-r--r-- | py3status/modules/player_control.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/py3status/modules/player_control.py b/py3status/modules/player_control.py index 3de3890..1651327 100644 --- a/py3status/modules/player_control.py +++ b/py3status/modules/player_control.py @@ -28,7 +28,7 @@ class Py3status: """ Configuration parameters: - debug: enable verbose logging (bool) (default: False) - - supported_players: supported players (str) (whitespace separated list) + - supported_players: supported players (str) (comma separated list) - volume_tick: percentage volume change on mouse wheel (int) (positive number or None to disable it) """ @@ -37,7 +37,7 @@ class Py3status: pause_icon = u'❚❚' play_icon = u'▶' stop_icon = u'◼' - supported_players = 'audacious vlc' + supported_players = 'audacious,vlc' volume_tick = 1 def __init__(self): @@ -124,7 +124,7 @@ class Py3status: def _detect_running_player(self): """Detect running player process, if any """ - supported_players = self.supported_players.split(' ') + supported_players = self.supported_players.split(',') running_players = [] for pid in os.listdir('/proc'): if not pid.isdigit(): |
