diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-05-21 09:13:42 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-05-21 09:16:18 +0200 |
commit | fcd69532adc12a2d318fb1c96721db91911a0770 (patch) | |
tree | 9628e43f5015ef7339cf080acd38240455cfdbd2 /src/config | |
parent | 469fa8f863e7fc0c2db7bc9c576071d5d5529ae7 (diff) | |
download | profani-tty-fcd69532adc12a2d318fb1c96721db91911a0770.tar.gz |
Make 'scrolled' themeable
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/theme.c | 2 | ||||
-rw-r--r-- | src/config/theme.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/config/theme.c b/src/config/theme.c index c7d979c5..48fbd95b 100644 --- a/src/config/theme.c +++ b/src/config/theme.c @@ -737,6 +737,7 @@ theme_attrs(theme_item_t attrs) 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; case THEME_TITLE_BRACKET: _theme_prep_fgnd("titlebar.brackets", lookup_str, &bold); break; + case THEME_TITLE_SCROLLED: _theme_prep_fgnd("titlebar.scrolled", lookup_str, &bold); break; case THEME_TITLE_UNENCRYPTED: _theme_prep_fgnd("titlebar.unencrypted", lookup_str, &bold); break; case THEME_TITLE_ENCRYPTED: _theme_prep_fgnd("titlebar.encrypted", lookup_str, &bold); break; case THEME_TITLE_UNTRUSTED: _theme_prep_fgnd("titlebar.untrusted", lookup_str, &bold); break; @@ -827,6 +828,7 @@ theme_attrs(theme_item_t attrs) switch (attrs) { case THEME_TITLE_TEXT: case THEME_TITLE_BRACKET: + case THEME_TITLE_SCROLLED: case THEME_TITLE_UNENCRYPTED: case THEME_TITLE_ENCRYPTED: case THEME_TITLE_UNTRUSTED: diff --git a/src/config/theme.h b/src/config/theme.h index 6a33d37a..86fd534e 100644 --- a/src/config/theme.h +++ b/src/config/theme.h @@ -56,6 +56,7 @@ typedef enum { THEME_TIME, THEME_TITLE_TEXT, THEME_TITLE_BRACKET, + THEME_TITLE_SCROLLED, THEME_TITLE_UNENCRYPTED, THEME_TITLE_ENCRYPTED, THEME_TITLE_UNTRUSTED, |