summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVille Hakulinen <ville.hakulinen@gmail.com>2020-08-12 21:06:42 +0300
committerVille Hakulinen <ville.hakulinen@gmail.com>2020-08-12 21:09:47 +0300
commit20f1de34a0272ea32eb714daa784732699109fd8 (patch)
treee636cf125b68a95cbef0fa337a3bf178f9dcfb6d
parent794f716be7d329f0eadf5879ed595be2457d84a9 (diff)
Adjust prefer-dark-theme flag name
-rw-r--r--src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 826e0f3..f33f4c7 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -94,8 +94,8 @@ struct Options {
#[structopt(long = "disable-ext-tabline")]
disable_ext_tabline: bool,
- /// Enables dark theme
- #[structopt(long = "prefer-dark-theme")]
+ /// Instruct GTK to prefer dark theme
+ #[structopt(long = "gtk-prefer-dark-theme")]
prefer_dark_theme: bool,
/// Geometry of the window in widthxheight form
@@ -233,7 +233,7 @@ fn main() {
"gtk-application-prefer-dark-theme",
&true.to_value(),
) {
- error!("Failed to set dark theme setting: {}", err);
+ error!("Failed to set gtk-application-prefer-dark-theme setting: {}", err);
}
}
}