Merge pull request #674 from gkeep/media-states-to-actions

[modules/media] Convert icon states to actions
This commit is contained in:
tobi-wan-kenobi 2020-06-30 20:19:32 +02:00 committed by GitHub
commit 8f0fdd6b39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 44 additions and 30 deletions

View file

@ -29,10 +29,10 @@
},
"cmus": {
"playing": {
"prefix": ">"
"prefix": "||"
},
"paused": {
"prefix": "||"
"prefix": "|>"
},
"stopped": {
"prefix": "[]"
@ -263,10 +263,10 @@
},
"mpd": {
"playing": {
"prefix": ">"
"prefix": "||"
},
"paused": {
"prefix": "||"
"prefix": "|>"
},
"stopped": {
"prefix": "[]"
@ -297,11 +297,21 @@
"prefix": ""
},
"spotify": {
"song": { "prefix": "spotify" },
"prev": { "prefix": "|<" },
"playing": { "prefix": "|>" },
"paused": { "prefix": "||" },
"next": { "prefix": ">|" }
"song": {
"prefix": "spotify"
},
"playing": {
"prefix": "||"
},
"paused": {
"prefix": "|>"
},
"prev": {
"prefix": "|<"
},
"next": {
"prefix": ">|"
}
},
"uptime": {
"prefix": "uptime"

View file

@ -22,7 +22,7 @@
"fan": { "prefix": "" }
},
"disk": { "prefix": "" },
"smartstatus": { "prefix": "" },
"smartstatus": { "prefix": "" },
"dnf": { "prefix": "" },
"apt": { "prefix": "" },
"pacman": { "prefix": "" },
@ -48,8 +48,8 @@
"DEGRADED": { "prefix": "!" }
},
"cmus": {
"playing": { "prefix": "" },
"paused": { "prefix": "" },
"playing": { "prefix": "" },
"paused": { "prefix": "" },
"stopped": { "prefix": "" },
"prev": { "prefix": "" },
"next": { "prefix": "" },
@ -59,15 +59,15 @@
"repeat-off": { "prefix": "" }
},
"gpmdp": {
"playing": { "prefix": "" },
"paused": { "prefix": "" },
"playing": { "prefix": "" },
"paused": { "prefix": "" },
"stopped": { "prefix": "" },
"prev": { "prefix": "" },
"next": { "prefix": "" }
},
"playerctl": {
"playing": { "prefix": "" },
"paused": { "prefix": "" },
"playing": { "prefix": "" },
"paused": { "prefix": "" },
"stopped": { "prefix": "" },
"prev": { "prefix": "" },
"next": { "prefix": "" }
@ -199,8 +199,8 @@
"tx": { "prefix": "" }
},
"mpd": {
"playing": { "prefix": "" },
"paused": { "prefix": "" },
"playing": { "prefix": "" },
"paused": { "prefix": "" },
"stopped": { "prefix": "" },
"prev": { "prefix": "" },
"next": { "prefix": "" },
@ -220,9 +220,9 @@
},
"spotify": {
"song": { "prefix": "" },
"playing": { "prefix": "" },
"paused": { "prefix": "" },
"prev": { "prefix": "" },
"playing": { "prefix": "" },
"paused": { "prefix": "" },
"next": { "prefix": "" }
},
"publicip": {

View file

@ -30,8 +30,8 @@
"DEGRADED": { "prefix": "\u26c1\uf3bc" }
},
"cmus": {
"playing": { "prefix": "\uf488" },
"paused": { "prefix": "\uf210" },
"playing": { "prefix": "\uf210" },
"paused": { "prefix": "\uf488" },
"stopped": { "prefix": "\uf24f" },
"prev": { "prefix": "\uf4ab" },
"next": { "prefix": "\uf4ad" },
@ -41,15 +41,15 @@
"repeat-off": { "prefix": "\uf30f" }
},
"gpmdp": {
"playing": { "prefix": "\uf488" },
"paused": { "prefix": "\uf210" },
"playing": { "prefix": "\uf210" },
"paused": { "prefix": "\uf488" },
"stopped": { "prefix": "\uf24f" },
"prev": { "prefix": "\uf4ab" },
"next": { "prefix": "\uf4ad" }
},
"playerctl": {
"playing": { "prefix": "\uf488" },
"paused": { "prefix": "\uf210" },
"playing": { "prefix": "\uf210" },
"paused": { "prefix": "\uf488" },
"stopped": { "prefix": "\uf24f" },
"prev": { "prefix": "\uf4ab" },
"next": { "prefix": "\uf4ad" }
@ -147,8 +147,8 @@
"tx": { "prefix": "\uf35f" }
},
"mpd": {
"playing": { "prefix": "\uf488" },
"paused": { "prefix": "\uf210" },
"playing": { "prefix": "\uf210" },
"paused": { "prefix": "\uf488" },
"stopped": { "prefix": "\uf24f" },
"prev": { "prefix": "\uf4ab" },
"next": { "prefix": "\uf4ad" },
@ -164,7 +164,11 @@
"prefix": "\uf305"
},
"spotify": {
"prefix": "\uf305"
"song": { "prefix": "\uf305" },
"playing": { "prefix": "\uf210" },
"paused": { "prefix": "\uf488" },
"prev": { "prefix": "\uf4ab" },
"next": { "prefix": "\uf4ad" }
},
"publicip": {
"prefix": "\uf268"
@ -202,6 +206,6 @@
"on": { "prefix": "\uf488" }
},
"arandr": {
"prefix": "\uf465"
"prefix": "\uf465"
}
}