summaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/batterygauge.go1
-rw-r--r--widgets/disk.go2
2 files changed, 1 insertions, 2 deletions
diff --git a/widgets/batterygauge.go b/widgets/batterygauge.go
index c2cab1d..f28dd34 100644
--- a/widgets/batterygauge.go
+++ b/widgets/batterygauge.go
@@ -40,6 +40,7 @@ func (b *BatteryGauge) EnableMetric() {
}
func (b *BatteryGauge) update() {
+ // FIXME: Getting a lot of these in the logs
bats, err := battery.GetAll()
if err != nil {
log.Printf("error setting up batteries: %v", err)
diff --git a/widgets/disk.go b/widgets/disk.go
index dd49b9a..f1921fd 100644
--- a/widgets/disk.go
+++ b/widgets/disk.go
@@ -31,8 +31,6 @@ type DiskWidget struct {
Partitions map[string]*Partition
}
-// TODO: Add filtering
-// TODO: Abstract out device from widget
func NewDiskWidget() *DiskWidget {
self := &DiskWidget{
Table: ui.NewTable(),