Shorten some labels
Signed-off-by: AKP <tom@tdpain.net>
This commit is contained in:
parent
ca6aed08da
commit
c456f98cb0
2 changed files with 2 additions and 4 deletions
|
@ -51,7 +51,7 @@ func (g *Disk) Block(colors *i3bar.ColorSet) (*i3bar.Block, error) {
|
|||
block := &i3bar.Block{
|
||||
Name: g.name,
|
||||
Instance: g.MountPath,
|
||||
FullText: fmt.Sprintf("Disk avail: %.1fGB", da),
|
||||
FullText: fmt.Sprintf("Disk: %.1fGB", da),
|
||||
ShortText: fmt.Sprintf("D: %.1fGB", da),
|
||||
}
|
||||
|
||||
|
|
|
@ -69,11 +69,9 @@ func (g *Memory) Block(colors *i3bar.ColorSet) (*i3bar.Block, error) {
|
|||
}
|
||||
avail := total - used
|
||||
|
||||
// TODO: Make the readout change between KB/MB/GB
|
||||
|
||||
block := &i3bar.Block{
|
||||
Name: g.name,
|
||||
FullText: fmt.Sprintf("Mem: %.1fGB of %.1fGB", used, total),
|
||||
FullText: fmt.Sprintf("Mem: %.1f/%.1fGB", used, total),
|
||||
ShortText: fmt.Sprintf("M: %.1fGB", used),
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue