e6357f4c90
Set the minimum width for uplink and downlink widgets to "down 1000MB", which should be plenty, and change alignment to right (personally, I find this looks nicer). To not have the icons on the left side "jump around" depending on the value, make them suffixes. If this solution is not sufficient, alternatively, the widget itself could perform value padding. In that case, the whole alignment and min-width settings would be obsolete and the icons could remain on the left side.
86 lines
2.3 KiB
JSON
86 lines
2.3 KiB
JSON
{
|
|
"defaults": {
|
|
"separator": "", "padding": " ",
|
|
"unknown": { "prefix": "" }
|
|
},
|
|
"date": { "prefix": "" },
|
|
"time": { "prefix": "" },
|
|
"memory": { "prefix": "" },
|
|
"cpu": { "prefix": "" },
|
|
"disk": { "prefix": "" },
|
|
"dnf": { "prefix": "" },
|
|
"pacman": { "prefix": "" },
|
|
"brightness": { "prefix": "" },
|
|
"load": { "prefix": "" },
|
|
"layout": { "prefix": "" },
|
|
"cmus": {
|
|
"playing": { "prefix": "" },
|
|
"paused": { "prefix": "" },
|
|
"stopped": { "prefix": "" },
|
|
"prev": { "prefix": "" },
|
|
"next": { "prefix": "" },
|
|
"shuffle-on": { "prefix": "" },
|
|
"shuffle-off": { "prefix": "" },
|
|
"repeat-on": { "prefix": "" },
|
|
"repeat-off": { "prefix": "" }
|
|
},
|
|
"gpmdp": {
|
|
"playing": { "prefix": "" },
|
|
"paused": { "prefix": "" },
|
|
"stopped": { "prefix": "" },
|
|
"prev": { "prefix": "" },
|
|
"next": { "prefix": "" }
|
|
},
|
|
"pasink": {
|
|
"muted": { "prefix": "" },
|
|
"unmuted": { "prefix": "" }
|
|
},
|
|
"amixer": {
|
|
"muted": { "prefix": "" },
|
|
"unmuted": { "prefix": "" }
|
|
},
|
|
"pasource": {
|
|
"muted": { "prefix": "" },
|
|
"unmuted": { "prefix": "" }
|
|
},
|
|
"kernel": {
|
|
"prefix": "\uf17c"
|
|
},
|
|
"nic": {
|
|
"wireless-up": { "prefix": "" },
|
|
"wireless-down": { "prefix": "" },
|
|
"wired-up": { "prefix": "" },
|
|
"wired-down": { "prefix": "" },
|
|
"tunnel-up": { "prefix": "" },
|
|
"tunnel-down": { "prefix": "" }
|
|
},
|
|
"battery": {
|
|
"charged": { "prefix": "", "suffix": "" },
|
|
"AC": { "suffix": "" },
|
|
"charging": {
|
|
"prefix": [ "", "", "", "", "" ],
|
|
"suffix": ""
|
|
},
|
|
"discharging-10": { "prefix": "", "suffix": "" },
|
|
"discharging-25": { "prefix": "", "suffix": "" },
|
|
"discharging-50": { "prefix": "", "suffix": "" },
|
|
"discharging-80": { "prefix": "", "suffix": "" },
|
|
"discharging-100": { "prefix": "", "suffix": "" }
|
|
},
|
|
"caffeine": {
|
|
"activated": {"prefix": " " }, "deactivated": { "prefix": " " }
|
|
},
|
|
"xrandr": {
|
|
"on": { "prefix": " "}, "off": { "prefix": " " }
|
|
},
|
|
"redshift": {
|
|
"day": { "prefix": "" }, "night": { "prefix": "" }, "transition": { "prefix": "" }
|
|
},
|
|
"sensors": {
|
|
"prefix": "🌡"
|
|
},
|
|
"traffic":{
|
|
"rx": { "suffix": "" },
|
|
"tx": { "suffix": "" }
|
|
}
|
|
}
|