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")
|
||||
elif playback_status == "Paused":
|
||||
widget.set("state", "paused")
|
||||
elif playback_status == "Stopped":
|
||||
widget.set("state", "stopped")
|
||||
else:
|
||||
widget.set("state", "")
|
||||
elif widget.name == "playerctl.next":
|
||||
|
|
Loading…
Reference in a new issue