diff options
| author | Raúl Benencia <rul@kalgan.cc> | 2013-08-25 17:56:39 -0300 | 
|---|---|---|
| committer | Raúl Benencia <rul@kalgan.cc> | 2013-08-25 17:56:39 -0300 | 
| commit | f25d0d8d82dff0be2d68476148479004b2888bd7 (patch) | |
| tree | 1e80bb8f47e5fce07f4a69050ebcb1fac93daf55 /Config.hs | |
| parent | 56dce7c4feada1d4ca93a312e48813fb1918b93b (diff) | |
Finished porting to state monad
Diffstat (limited to 'Config.hs')
| -rw-r--r-- | Config.hs | 14 | 
1 files changed, 7 insertions, 7 deletions
| @@ -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 | 
