Skip to content
Snippets Groups Projects
Commit 3b84633e authored by Jens Nolte's avatar Jens Nolte
Browse files

Add battery block cli command

parent 2c4b2323
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ blockParser =
hidden <>
command "date" (info (pure $ addBlock dateBlock) (progDesc "Load the date and time block.")) <>
command "cpu" (info (pure $ addBlock $ cpuUsageBlock 1) (progDesc "Load the cpu usage block.")) <>
command "script" (info scriptBlockParser (progDesc "Display the output of an external script as a block."))
command "battery" (info (pure $ addBlock $ batteryBlock) (progDesc "Load the battery block.")) <>
)
scriptBlockParser :: Parser (BarIO ())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment