forked from colonelpanic/dotfiles
[taffybar] Add battery widget for razer blade
This commit is contained in:
parent
4b76bd73c8
commit
07772b1a60
@ -158,6 +158,17 @@ main = do
|
|||||||
, textClockNewWith defaultClockConfig
|
, textClockNewWith defaultClockConfig
|
||||||
, sniTrayNew
|
, sniTrayNew
|
||||||
]
|
]
|
||||||
|
longLaptopWidgets =
|
||||||
|
map (>>= buildContentsBox)
|
||||||
|
[ batteryIconNew
|
||||||
|
, textBatteryNew "$percentage$%"
|
||||||
|
, textClockNewWith defaultClockConfig
|
||||||
|
, sniTrayNew
|
||||||
|
, cpuGraph
|
||||||
|
, memoryGraph
|
||||||
|
, networkGraphNew netCfg Nothing
|
||||||
|
, mpris2New
|
||||||
|
]
|
||||||
baseConfig =
|
baseConfig =
|
||||||
defaultSimpleTaffyConfig
|
defaultSimpleTaffyConfig
|
||||||
{ startWidgets =
|
{ startWidgets =
|
||||||
@ -177,7 +188,7 @@ main = do
|
|||||||
, baseConfig { endWidgets = fullEndWidgets, barHeight = 42 }
|
, baseConfig { endWidgets = fullEndWidgets, barHeight = 42 }
|
||||||
)
|
)
|
||||||
, ( "ivanm-dfinity-razr"
|
, ( "ivanm-dfinity-razr"
|
||||||
, baseConfig { endWidgets = fullEndWidgets, barHeight = 42 }
|
, baseConfig { endWidgets = longLaptopWidgets, barHeight = 42 }
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
simpleTaffyConfig = selectedConfig
|
simpleTaffyConfig = selectedConfig
|
||||||
|
Loading…
Reference in New Issue
Block a user