forked from colonelpanic/dotfiles
[taffybar] Fix config
This commit is contained in:
parent
eb18e13bf2
commit
cf22173bee
@ -134,8 +134,8 @@ cssFilesByHostname =
|
|||||||
main = do
|
main = do
|
||||||
hostName <- getHostName
|
hostName <- getHostName
|
||||||
homeDirectory <- getHomeDirectory
|
homeDirectory <- getHomeDirectory
|
||||||
cssFiles <-
|
let relativeFiles = fromMaybe ["gotham.css", "taffybar.css"] $ lookup hostName cssFilesByHostname
|
||||||
traverse (getUserConfigFile "taffybar") $ lookup hostName cssFilesByHostname
|
cssFiles <- mapM (getUserConfigFile "taffybar") relativeFiles
|
||||||
|
|
||||||
let myCPU = deocrateWithSetClassAndBoxes "cpu" $
|
let myCPU = deocrateWithSetClassAndBoxes "cpu" $
|
||||||
pollingGraphNew cpuCfg 5 cpuCallback
|
pollingGraphNew cpuCfg 5 cpuCallback
|
||||||
|
Loading…
Reference in New Issue
Block a user