commit 97fd667b8f15f836e9f1306ed7de7bbe52d1b12f parent c9c1a5c9e57f4140d4be8dbebed4df4eb5eee478 Author: wabu <waeber@inf.fu-berlin.de> Date: Thu, 14 May 2009 19:03:37 +0800 UrgentTag: use notice color instaed of * Signed-off-by: Suraj N. Kurapati <sunaku@gmail.com> Diffstat:
config.yaml | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/config.yaml b/config.yaml @@ -648,12 +648,13 @@ control: UrgentTag: | tag = argv[1] but = fs.lbar[tag] - but.write '*' + tag if but.exist? + but.write "#{CONFIG['display']['color']['notice']} #{tag}" if but.exist? NotUrgentTag: | tag = argv[1] but = fs.lbar[tag] - but.write tag if but.exist? + color = curr_view.id == tag ? 'focus' : 'normal' + but.write "#{CONFIG['display']['color'][color]} #{tag}" if but.exist? LeftBarClick: &LeftBarClick | mouse_button, view_id = argv