diff --git a/src/QBar/Cli.hs b/src/QBar/Cli.hs index c175a0a1389d3c68514fefaa0b388550f19e6538..f1f213cfcd777ca40145c2499c0408150f8bf5c1 100644 --- a/src/QBar/Cli.hs +++ b/src/QBar/Cli.hs @@ -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 ())