summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKierán Meinhardt <kieran.meinhardt@gmail.com>2020-09-23 17:16:29 +0200
committerKierán Meinhardt <kieran.meinhardt@gmail.com>2020-09-23 17:16:29 +0200
commite94c5b773ba5b7cdd412810e7626168d2e629950 (patch)
treefa016688bc1d0fbc6925551e56f9bf044bed179d
parent273350709792bee4386b03adf68beb369c60beb3 (diff)
kmein config: restyle
-rw-r--r--config/kmein.hs19
1 files changed, 16 insertions, 3 deletions
diff --git a/config/kmein.hs b/config/kmein.hs
index 37b5474..0c0ef36 100644
--- a/config/kmein.hs
+++ b/config/kmein.hs
@@ -34,7 +34,18 @@ main =
{ keymap = myKeymap
, mousemap = myMousemap
, colorConfig = (colorConfig emptyState)
- { tagMap =
+ { boring = SGR [38,5,8]
+ , alt = SGR [38,5,182]
+ , search = SGR [38,5,13]
+ , focus = SGR [38,5,4]
+ , quote = SGR [38,5,7]
+ , prefix = SGR [38,5,235]
+ , date = SGR [38,5,1]
+ , tags = SGR [38,5,14]
+ , boringMessage = SGR [38,5,3]
+ , unreadMessage = SGR [38,5,11]
+ , unreadSearch = SGR [38,5,15]
+ , tagMap =
[ ("deleted", SGR [38,5,088])
, ("flagged", SGR [38,5,226])
, ("draft", SGR [38,5,63])
@@ -42,15 +53,17 @@ main =
]
}
, tagSymbols =
- [ ("flagged", "*")
+ [ ("flagged", "🔖")
, ("attachment", "📎")
+ , ("signed", "🔒")
]
+ , query = "tag:inbox"
}
myKeymap :: String -> State -> IO State
myKeymap "h" = closeFold
myKeymap "l" = openFold
-myKeymap "\n" = toggleFold
+myKeymap " " = toggleFold
myKeymap "g" = moveCursorUp 150
myKeymap "G" = moveCursorDown 150