Use icon actions instead of states

This commit is contained in:
gkeep 2020-06-30 13:58:10 +03:00
parent f75f1a9f26
commit 7579a08615
3 changed files with 44 additions and 30 deletions

View file

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

View file

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

View file

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