aboutsummaryrefslogtreecommitdiff
path: root/Config.hs
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2013-08-25 17:56:39 -0300
committerRaúl Benencia <rul@kalgan.cc>2013-08-25 17:56:39 -0300
commitf25d0d8d82dff0be2d68476148479004b2888bd7 (patch)
tree1e80bb8f47e5fce07f4a69050ebcb1fac93daf55 /Config.hs
parent56dce7c4feada1d4ca93a312e48813fb1918b93b (diff)
Finished porting to state monad
Diffstat (limited to 'Config.hs')
-rw-r--r--Config.hs14
1 files changed, 7 insertions, 7 deletions
diff --git a/Config.hs b/Config.hs
index a7f4250..5c4e477 100644
--- a/Config.hs
+++ b/Config.hs
@@ -3,7 +3,7 @@
- Copyright 2013 Raúl Benencia <rul@kalgan.cc>
-
- Licensed under the GNU GPL version 3 or higher
- -
+ -
-}
module Config(LazymailConfig(..), defaultConfig, customConfig) where
@@ -13,17 +13,17 @@ import System.FilePath(FilePath)
data LazymailConfig = LazymailConfig {
baseColor :: (Color, Color) -- (foreground, background)
- , selectionColor :: (Color, Color)
- , statusBarColor :: (Color, Color)
+ , selectionColor :: (Color, Color)
+ , statusBarColor :: (Color, Color)
, showStatusBar :: Bool
- , initialPath :: FilePath
-}
+ , initialPath :: FilePath
+}
defaultConfig = LazymailConfig {
baseColor = (ColorWhite, ColorBlack)
, selectionColor = (ColorBlack, ColorWhite)
, statusBarColor = (ColorBlack, ColorWhite)
- , showStatusBar = True
+ , showStatusBar = True
, initialPath = ""
}
@@ -32,4 +32,4 @@ defaultConfig = LazymailConfig {
-- preferences. In a possible future maybe I'll work in a not-so-crappy
-- config system.
--
-customConfig = defaultConfig { initialPath = "/home/rul/mail/kalgan" } \ No newline at end of file
+customConfig = defaultConfig { initialPath = "/home/rul/mail/linti/" } \ No newline at end of file
nihil fit ex nihilo