forked from colonelpanic/dotfiles
[taffybar] Fix config
This commit is contained in:
parent
eb18e13bf2
commit
cf22173bee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user