diff options
author | Kierán Meinhardt <kieran.meinhardt@gmail.com> | 2020-09-29 21:55:23 +0200 |
---|---|---|
committer | Kierán Meinhardt <kieran.meinhardt@gmail.com> | 2020-09-29 22:14:38 +0200 |
commit | e7d53d6fc81fb14576fca035ab0360b44bbd6495 (patch) | |
tree | d0fbd3b38c12d6541e08b446c2e6d9b4c43da7b4 /config | |
parent | 8d5e610b4caee7cb184294ca22f527f9f6934b82 (diff) |
override colors and query via JSON config
Diffstat (limited to 'config')
-rw-r--r-- | config/kmein.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/kmein.hs b/config/kmein.hs index 1483df2..77d14d7 100644 --- a/config/kmein.hs +++ b/config/kmein.hs @@ -17,6 +17,7 @@ import System.Posix.Signals import Text.Hyphenation import Text.LineBreak import qualified Data.Tree as Tree +import qualified Data.Map as M import qualified Data.Tree.Zipper as Z {- notmuch's special tags are: @@ -45,14 +46,14 @@ main = , boringMessage = SGR [38,5,3] , unreadMessage = SGR [38,5,11] , unreadSearch = SGR [38,5,15] - , tagMap = + , tagMap = M.fromList [ ("deleted", SGR [38,5,088]) , ("flagged", SGR [38,5,226]) , ("draft", SGR [38,5,63]) , ("spam", SGR [38,5,202]) ] } - , tagSymbols = + , tagSymbols = M.fromList [ ("flagged", "🔖") , ("attachment", "📎") , ("signed", "🔒") |