dead54ed1f
Add controls that allow the user to switch to the next and previous song in cmus, toggle shuffle and repeat. Pause/play is toggled by clicking on the song title itself. fixes #5
152 lines
2.3 KiB
JSON
152 lines
2.3 KiB
JSON
{
|
|
"defaults": {
|
|
"prefix": " ",
|
|
"suffix" : " ",
|
|
"cycle": [
|
|
{
|
|
"fg": "#93a1a1",
|
|
"bg": "#002b36"
|
|
},
|
|
{
|
|
"fg": "#eee8d5",
|
|
"bg": "#586e75"
|
|
}
|
|
],
|
|
"fg-critical": "#002b36",
|
|
"bg-critical": "#dc322f",
|
|
"fg-warning": "#002b36",
|
|
"bg-warning": "#b58900",
|
|
|
|
"default-separators": false,
|
|
"separator-block-width": 0,
|
|
"separator": ""
|
|
},
|
|
"date": {
|
|
"prefix": " "
|
|
},
|
|
"time": {
|
|
"prefix": " "
|
|
},
|
|
"memory": {
|
|
"prefix": " "
|
|
},
|
|
"cpu": {
|
|
"prefix": " "
|
|
},
|
|
"disk": {
|
|
"prefix": " "
|
|
},
|
|
"dnf": {
|
|
"prefix": " ",
|
|
"states": {
|
|
"good": {
|
|
"fg": "#002b36",
|
|
"bg": "#859900"
|
|
}
|
|
}
|
|
},
|
|
"brightness": {
|
|
"prefix": " "
|
|
},
|
|
"cmus": {
|
|
"states": {
|
|
"playing": {
|
|
"prefix": " "
|
|
},
|
|
"paused": {
|
|
"prefix": " "
|
|
},
|
|
"stopped": {
|
|
"prefix": " "
|
|
}
|
|
},
|
|
"prev": {
|
|
"prefix": " "
|
|
},
|
|
"next": {
|
|
"prefix": " "
|
|
},
|
|
"shuffle": {
|
|
"states": { "on": { "prefix": " " }, "off": { "prefix": " " } }
|
|
},
|
|
"repeat": {
|
|
"states": { "on": { "prefix": " " }, "off": { "prefix": " " } }
|
|
}
|
|
},
|
|
"pasink": {
|
|
"states": {
|
|
"muted": {
|
|
"prefix": " "
|
|
},
|
|
"unmuted": {
|
|
"prefix": " "
|
|
}
|
|
}
|
|
},
|
|
"pasource": {
|
|
"states": {
|
|
"muted": {
|
|
"prefix": " "
|
|
},
|
|
"unmuted": {
|
|
"prefix": " "
|
|
}
|
|
}
|
|
},
|
|
"nic": {
|
|
"states": {
|
|
"wireless-up": {
|
|
"prefix": " "
|
|
},
|
|
"wireless-down": {
|
|
"prefix": " "
|
|
},
|
|
"wired-up": {
|
|
"prefix": " "
|
|
},
|
|
"wired-down": {
|
|
"prefix": " "
|
|
},
|
|
"tunnel-up": {
|
|
"prefix": " "
|
|
},
|
|
"tunnel-down": {
|
|
"prefix": " "
|
|
}
|
|
}
|
|
},
|
|
"battery": {
|
|
"states": {
|
|
"charged": {
|
|
"prefix": " ",
|
|
"suffix": " ",
|
|
"fg": "#002b36",
|
|
"bg": "#859900"
|
|
},
|
|
"charging": {
|
|
"prefix": [ " ", " ", " ", " ", " " ],
|
|
"suffix": " "
|
|
},
|
|
"discharging-10": {
|
|
"prefix": " ",
|
|
"suffix": " "
|
|
},
|
|
"discharging-25": {
|
|
"prefix": " ",
|
|
"suffix": " "
|
|
},
|
|
"discharging-50": {
|
|
"prefix": " ",
|
|
"suffix": " "
|
|
},
|
|
"discharging-80": {
|
|
"prefix": " ",
|
|
"suffix": " "
|
|
},
|
|
"discharging-100": {
|
|
"prefix": " ",
|
|
"suffix": " "
|
|
}
|
|
}
|
|
}
|
|
}
|