From 437523ebc951438bc5f0641005f9cfbb6f820e3e Mon Sep 17 00:00:00 2001 From: Léana 江 Date: Mon, 22 Jun 2026 21:53:40 +0200 Subject: use Int instead --- src/Xmobar/Plugins/Monitors/Batt/Common.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Xmobar/Plugins/Monitors/Batt/Common.hs b/src/Xmobar/Plugins/Monitors/Batt/Common.hs index d74f080..2c60155 100644 --- a/src/Xmobar/Plugins/Monitors/Batt/Common.hs +++ b/src/Xmobar/Plugins/Monitors/Batt/Common.hs @@ -60,7 +60,7 @@ maybeAlert opts left = where mkShellCmd command = do selfEnv <- getEnvironment - pure (shell command) { env = Just $ [("XMOBAR_BATT_LEFT", show @Integer $ round $ 100 * left)] ++ selfEnv + pure (shell command) { env = Just $ [("XMOBAR_BATT_LEFT", show @Int $ round $ 100 * left)] ++ selfEnv } runCmd c = do (_,_,_,p) <- createProcess_ "maybeAlert" c -- cgit v1.2.3