about summary refs log tree commit diff stats
path: root/src/config/theme.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/theme.c')
-rw-r--r--src/config/theme.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/config/theme.c b/src/config/theme.c
index 50c0ffb0..1342f551 100644
--- a/src/config/theme.c
+++ b/src/config/theme.c
@@ -618,6 +618,14 @@ _theme_prep_bgnd(char *setting, char *def, GString *lookup_str)
     g_free(val);
 }
 
+/* return value needs to be freed */
+char*
+theme_get_bkgnd(void)
+{
+    char *val = g_key_file_get_string(theme, "colours", "bkgnd", NULL);
+    return val;
+}
+
 static void
 _theme_prep_fgnd(char *setting, GString *lookup_str, gboolean *bold)
 {