[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 ]
|
laptopEndWidgets = batteryWidgets ++ baseEndWidgets ++ [ myMpris ]
|
||||||
baseConfig =
|
baseConfig =
|
||||||
defaultSimpleTaffyConfig
|
defaultSimpleTaffyConfig
|
||||||
{ startWidgets = [myWorkspaces, myLayout, myWindows]
|
{ startWidgets = [ myWorkspaces, myLayout, myWindows ]
|
||||||
, endWidgets = fullEndWidgets
|
, endWidgets = fullEndWidgets
|
||||||
, barPosition = Top
|
, barPosition = Top
|
||||||
, widgetSpacing = 0
|
, widgetSpacing = 0
|
||||||
@ -209,6 +209,7 @@ main = do
|
|||||||
, barHeight = ScreenRatio $ 1/27
|
, barHeight = ScreenRatio $ 1/27
|
||||||
, cssPaths = cssFiles
|
, cssPaths = cssFiles
|
||||||
, startupHook = void $ setCMCAPIKey "f9e66366-9d42-4c6e-8d40-4194a0aaa329"
|
, startupHook = void $ setCMCAPIKey "f9e66366-9d42-4c6e-8d40-4194a0aaa329"
|
||||||
|
, centerWidgets = [ myClock ]
|
||||||
}
|
}
|
||||||
selectedConfig =
|
selectedConfig =
|
||||||
fromMaybe baseConfig $ lookup hostName
|
fromMaybe baseConfig $ lookup hostName
|
||||||
@ -232,6 +233,9 @@ main = do
|
|||||||
, startWidgets = [myWorkspaces, myLayout]
|
, startWidgets = [myWorkspaces, myLayout]
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
, ( "jay-lenovo"
|
||||||
|
, baseConfig { endWidgets = laptopEndWidgets }
|
||||||
|
)
|
||||||
]
|
]
|
||||||
simpleTaffyConfig = selectedConfig
|
simpleTaffyConfig = selectedConfig
|
||||||
{ centerWidgets = [ myClock ]
|
{ centerWidgets = [ myClock ]
|
||||||
|
Loading…
Reference in New Issue
Block a user