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