diff --git a/doc/config_settings.xml b/doc/config_settings.xml
index 0635d377..9edcf718 100644
--- a/doc/config_settings.xml
+++ b/doc/config_settings.xml
@@ -1077,6 +1077,15 @@
Boolean value, if true, text is rendered in upper case.
+
+
+
+
+
+
+ Boolean value, if true, text is rendered in lower case.
+
+
diff --git a/src/conky.cc b/src/conky.cc
index 0376da1c..79633a40 100644
--- a/src/conky.cc
+++ b/src/conky.cc
@@ -283,6 +283,9 @@ std::string current_config;
static conky::simple_config_setting stuff_in_uppercase("uppercase", false,
true);
+static conky::simple_config_setting stuff_in_lowercase("lowercase", false,
+ true);
+
/* Run how many times? */
static conky::range_config_setting total_run_times(
"total_run_times", 0, std::numeric_limits::max(), 0, true);
@@ -794,6 +797,14 @@ static void generate_text() {
*tmp_p = toupper(static_cast(*tmp_p));
tmp_p++;
}
+ } else if (stuff_in_lowercase.get(*state)) {
+ char *tmp_p;
+
+ tmp_p = text_buffer;
+ while (*tmp_p != 0) {
+ *tmp_p = tolower(static_cast(*tmp_p));
+ tmp_p++;
+ }
}
double ui = active_update_interval();