diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Main.hs | 2 |
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,[]) |