diff options
author | James Booth <boothj5@gmail.com> | 2016-02-10 21:38:28 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-02-10 21:38:28 +0000 |
commit | 71679a3159037c353656b19e3b36ab303714bc15 (patch) | |
tree | 549a5f41cef54b2ebb7649a1a93cd267c7a8bfb9 /src/config | |
parent | 7bdc46c012e58df98ac68b6e7a8bbbcb3452958e (diff) | |
download | profani-tty-71679a3159037c353656b19e3b36ab303714bc15.tar.gz |
Added mention and trigger themes for console
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/theme.c | 4 | ||||
-rw-r--r-- | src/config/theme.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/config/theme.c b/src/config/theme.c index 6a235f6d..c8e466d5 100644 --- a/src/config/theme.c +++ b/src/config/theme.c @@ -82,6 +82,8 @@ theme_init(const char *const theme_name) g_hash_table_insert(defaults, strdup("main.splash"), strdup("cyan")); g_hash_table_insert(defaults, strdup("error"), strdup("red")); g_hash_table_insert(defaults, strdup("incoming"), strdup("yellow")); + g_hash_table_insert(defaults, strdup("mention"), strdup("yellow")); + g_hash_table_insert(defaults, strdup("trigger"), strdup("yellow")); g_hash_table_insert(defaults, strdup("input.text"), strdup("white")); g_hash_table_insert(defaults, strdup("main.time"), strdup("white")); g_hash_table_insert(defaults, strdup("titlebar.text"), strdup("white")); @@ -724,6 +726,8 @@ theme_attrs(theme_item_t attrs) case THEME_SPLASH: _theme_prep_fgnd("main.splash", lookup_str, &bold); break; case THEME_ERROR: _theme_prep_fgnd("error", lookup_str, &bold); break; case THEME_INCOMING: _theme_prep_fgnd("incoming", lookup_str, &bold); break; + case THEME_MENTION: _theme_prep_fgnd("mention", lookup_str, &bold); break; + case THEME_TRIGGER: _theme_prep_fgnd("trigger", lookup_str, &bold); break; case THEME_INPUT_TEXT: _theme_prep_fgnd("input.text", lookup_str, &bold); break; case THEME_TIME: _theme_prep_fgnd("main.time", lookup_str, &bold); break; case THEME_TITLE_TEXT: _theme_prep_fgnd("titlebar.text", lookup_str, &bold); break; diff --git a/src/config/theme.h b/src/config/theme.h index e6a72dde..4ec74510 100644 --- a/src/config/theme.h +++ b/src/config/theme.h @@ -46,6 +46,8 @@ typedef enum { THEME_SPLASH, THEME_ERROR, THEME_INCOMING, + THEME_MENTION, + THEME_TRIGGER, THEME_INPUT_TEXT, THEME_TIME, THEME_TITLE_TEXT, |