[modules/playerctl]: support the stopped status
This commit is contained in:
parent
447d094fe2
commit
37ccbd7f4a
1 changed files with 2 additions and 0 deletions
|
@ -96,6 +96,8 @@ class Module(core.module.Module):
|
||||||
widget.set("state", "playing")
|
widget.set("state", "playing")
|
||||||
elif playback_status == "Paused":
|
elif playback_status == "Paused":
|
||||||
widget.set("state", "paused")
|
widget.set("state", "paused")
|
||||||
|
elif playback_status == "Stopped":
|
||||||
|
widget.set("state", "stopped")
|
||||||
else:
|
else:
|
||||||
widget.set("state", "")
|
widget.set("state", "")
|
||||||
elif widget.name == "playerctl.next":
|
elif widget.name == "playerctl.next":
|
||||||
|
|
Loading…
Reference in a new issue