Merge pull request #796 from ouuan/playerctl
[modules/playerctl]: support the stopped status
This commit is contained in:
commit
3ff2e49e5f
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