From 208bfc339c33de18b49b388d3a8e638d9871ef8f Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Sat, 6 Jun 2020 18:41:36 -0500 Subject: [PATCH] Minor edits. --- .xmonad/xmonad.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 59a734a..6a3d3d5 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -218,7 +218,7 @@ dtXPConfig = def calcPrompt :: XPConfig -> String -> X () calcPrompt c ans = inputPrompt c (trim ans) ?+ \input -> - liftIO(runProcessWithInput "whereis" [input] "") >>= calcPrompt c + liftIO(runProcessWithInput "qalc" [input] "") >>= calcPrompt c where trim = f . f where f = reverse . dropWhile isSpace