Change network widget title based on interface
This commit is contained in:
parent
0d783d932e
commit
d5f2fef5dd
|
@ -38,7 +38,7 @@ func NewNetWidget(netInterface string) *NetWidget {
|
|||
}
|
||||
self.Title = " Network Usage "
|
||||
if netInterface != "all" {
|
||||
self.Title = fmt.Sprintf(" %s Usage ", netInterface)
|
||||
self.Title = fmt.Sprintf(" Network Usage: %s ", netInterface)
|
||||
}
|
||||
|
||||
self.update()
|
||||
|
|
Loading…
Reference in New Issue
Block a user