[taffybar] Hostname changes

This commit is contained in:
Ivan Malison 2019-05-25 21:21:43 -07:00
parent c845f54854
commit 9043df7453
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -111,7 +111,7 @@ logDebug = do
cssFileByHostname = cssFileByHostname =
[ ("uber-loaner", "uber-loaner.css") [ ("uber-loaner", "uber-loaner.css")
, ("imalison-home", "taffybar.css") , ("imalison-home", "taffybar.css")
, ("ivanm-dfinity-razr", "ivanm-dfinity-razr.css") , ("ivanm-dfinity-razer", "ivanm-dfinity-razer.css")
] ]
main = do main = do
@ -158,7 +158,7 @@ main = do
, textClockNewWith defaultClockConfig , textClockNewWith defaultClockConfig
, sniTrayNew , sniTrayNew
] ]
longLaptopWidgets = longLaptopEndWidgets =
map (>>= buildContentsBox) map (>>= buildContentsBox)
[ batteryIconNew [ batteryIconNew
, textBatteryNew "$percentage$%" , textBatteryNew "$percentage$%"
@ -187,8 +187,8 @@ main = do
, ( "imalison-home" , ( "imalison-home"
, baseConfig { endWidgets = fullEndWidgets, barHeight = 42 } , baseConfig { endWidgets = fullEndWidgets, barHeight = 42 }
) )
, ( "ivanm-dfinity-razr" , ( "ivanm-dfinity-razer"
, baseConfig { endWidgets = longLaptopWidgets, barHeight = 42 } , baseConfig { endWidgets = shortLaptopEndWidgets, barHeight = 42 }
) )
] ]
simpleTaffyConfig = selectedConfig simpleTaffyConfig = selectedConfig