summaryrefslogtreecommitdiff
path: root/alot/defaults/alot.rc.spec
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-07-08 19:57:28 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2012-07-08 19:57:28 +0100
commit01923d94ea499136214f4a4ecdb53352817ff625 (patch)
treead3ed465807afad9163dbb03270350f3092b72c3 /alot/defaults/alot.rc.spec
parentdf685d48331bdf8081aff6be3b6f551bf54f06a1 (diff)
change tags formatting in config spec
the individual tag subsections define 'normal' and 'focus' attributes to define how the tag is represented if unfocussed and focussed respectively. These are urwid attribute sextuples that define fg/bg for 1,16 and 256 coour modes
Diffstat (limited to 'alot/defaults/alot.rc.spec')
-rw-r--r--alot/defaults/alot.rc.spec12
1 files changed, 4 insertions, 8 deletions
diff --git a/alot/defaults/alot.rc.spec b/alot/defaults/alot.rc.spec
index cd5dd6c3..ed6c1a99 100644
--- a/alot/defaults/alot.rc.spec
+++ b/alot/defaults/alot.rc.spec
@@ -179,14 +179,10 @@ forward_subject_prefix = string(default='Fwd: ')
[tags]
# for each tag
[[__many__]]
- # foreground
- fg = string(default=None)
- # background
- bg = string(default=None)
- # foreground if focused
- focus_fg = string(default=None)
- # background if focused
- focus_bg = string(default=None)
+ # unfocussed
+ normal = attrtriple(default=None)
+ # focussed
+ focus = attrtriple(default=None)
# don't display at all?
hidden = boolean(default=False)
# alternative string representation