[taffybar] Add configuration for jay-lenovo
This commit is contained in:
parent
9396872a71
commit
5269bfa9e2
@ -201,7 +201,7 @@ main = do
|
||||
laptopEndWidgets = batteryWidgets ++ baseEndWidgets ++ [ myMpris ]
|
||||
baseConfig =
|
||||
defaultSimpleTaffyConfig
|
||||
{ startWidgets = [myWorkspaces, myLayout, myWindows]
|
||||
{ startWidgets = [ myWorkspaces, myLayout, myWindows ]
|
||||
, endWidgets = fullEndWidgets
|
||||
, barPosition = Top
|
||||
, widgetSpacing = 0
|
||||
@ -209,6 +209,7 @@ main = do
|
||||
, barHeight = ScreenRatio $ 1/27
|
||||
, cssPaths = cssFiles
|
||||
, startupHook = void $ setCMCAPIKey "f9e66366-9d42-4c6e-8d40-4194a0aaa329"
|
||||
, centerWidgets = [ myClock ]
|
||||
}
|
||||
selectedConfig =
|
||||
fromMaybe baseConfig $ lookup hostName
|
||||
@ -232,6 +233,9 @@ main = do
|
||||
, startWidgets = [myWorkspaces, myLayout]
|
||||
}
|
||||
)
|
||||
, ( "jay-lenovo"
|
||||
, baseConfig { endWidgets = laptopEndWidgets }
|
||||
)
|
||||
]
|
||||
simpleTaffyConfig = selectedConfig
|
||||
{ centerWidgets = [ myClock ]
|
||||
|
Loading…
Reference in New Issue
Block a user