Commit graph

3 commits

Author SHA1 Message Date
AKP
29ac240241
Update definition of i3bar.BlockGenerator
Signed-off-by: AKP <tom@tdpain.net>
2022-05-27 11:47:59 +01:00
AKP
fbb2e983d2
Fix overflow bug when parsing volume
When parsing volumes out of pacmd, strconv.ParseInt was set to
parse 8-bit numbers. Since volumes can exceed 100% (eg. they can
be values like 140%), volumes can be larger than the maximum value
allowed by an 8-bit signed integer.

This commit fixes that by setting strconv.ParseInt to parse 32-bit
numbers.

Signed-off-by: AKP <tom@tdpain.net>
2022-03-05 18:22:01 +00:00
AKP
8929359837
Flesh out i3bar implementation and add some providers
Signed-off-by: AKP <tom@tdpain.net>
2022-02-27 20:22:31 +00:00