[taffybar] Fix config

This commit is contained in:
Ivan Malison 2021-08-14 04:24:25 -06:00
parent eb18e13bf2
commit cf22173bee

View File

@ -134,8 +134,8 @@ cssFilesByHostname =
main = do
hostName <- getHostName
homeDirectory <- getHomeDirectory
cssFiles <-
traverse (getUserConfigFile "taffybar") $ lookup hostName cssFilesByHostname
let relativeFiles = fromMaybe ["gotham.css", "taffybar.css"] $ lookup hostName cssFilesByHostname
cssFiles <- mapM (getUserConfigFile "taffybar") relativeFiles
let myCPU = deocrateWithSetClassAndBoxes "cpu" $
pollingGraphNew cpuCfg 5 cpuCallback