[taffybar] Use new battery features

This commit is contained in:
Ivan Malison 2018-04-18 23:10:43 -07:00
parent ddc9eeeae5
commit c8a7021f2c
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -250,7 +250,7 @@ main = do
defaultTaffybarConfig
{ startWidgets = [hud, los, addClass "WindowSwitcher" wnd]
, endWidgets =
[ batteryBarNew defaultBatteryConfig 1.0
[ batteryBarNewWithFormat defaultBatteryConfig "$percentage$% ($time$) - $status$" 1.0
, makeContents clock "Cpu"
-- , makeContents systrayNew "Cpu"
, makeContents buildSNITray "Cpu"