[taffybar] Use images in workspace pager

This commit is contained in:
Ivan Malison 2017-01-28 12:38:37 -08:00
parent f01095688f
commit 55071ede05
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -28,7 +28,11 @@ main = do
, graphLabel = Just "cpu"
}
let clock = textClockNew Nothing "<span fgcolor='orange'>%a %b %_d %r</span>" 1
pager = taffyPagerNew defaultPagerConfig
pagerConfig = defaultPagerConfig
{ useImages = True
, emptyWorkspace = id
}
pager = taffyPagerNew pagerConfig
mpris = mpris2New
mem = pollingGraphNew memCfg 1 memCallback
cpu = pollingGraphNew cpuCfg 0.5 cpuCallback