summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index e90a158..d0fe4fc 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -109,7 +109,7 @@ readDefaultConfig = do
x <- io $ fileExist xdgconf
home <- io $ getEnv "HOME"
let path = home ++ "/.xmobarrc"
- f <- io $ fileExist path
+ f <- io $ fileExist xdgconf
if x then readConfig path
else if f then readConfig path
else return (defaultConfig,[])