summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2020-04-29 12:59:49 +0200
committerDave Davenport <qball@gmpclient.org>2020-04-29 12:59:49 +0200
commit86cdcae55b4e8cbfaa3bbcd0c65eb5ea926a096d (patch)
treea2c192661f6464bf93924b34760dcc7042a9fed1
parent9a3d4b1d2ecbc0746c49ca7d822a17e8a5c44f44 (diff)
[Window] Update manpage and --help.
-rw-r--r--doc/rofi.16
-rw-r--r--doc/rofi.1.markdown6
-rw-r--r--source/xrmoptions.c2
3 files changed, 13 insertions, 1 deletions
diff --git a/doc/rofi.1 b/doc/rofi.1
index db6c9640..1adab482 100644
--- a/doc/rofi.1
+++ b/doc/rofi.1
@@ -882,6 +882,12 @@ See \fIPATTERN\fP\&.
.PP
Default: \fI"wmctrl \-i \-R {window}"\fP
+.PP
+\fB\fC\-window\-thumbnail\fR
+
+.PP
+Show window thumbnail (if available) as icon in the window switcher.
+
.SS Combi settings
.PP
\fB\fC\-combi\-modi\fR \fImode1,mode2\fP
diff --git a/doc/rofi.1.markdown b/doc/rofi.1.markdown
index 5596a8b2..3fd631cd 100644
--- a/doc/rofi.1.markdown
+++ b/doc/rofi.1.markdown
@@ -520,6 +520,12 @@ See *PATTERN*.
Default: *"wmctrl -i -R {window}"*
+
+`-window-thumbnail`
+
+Show window thumbnail (if available) as icon in the window switcher.
+
+
### Combi settings
`-combi-modi` *mode1,mode2*
diff --git a/source/xrmoptions.c b/source/xrmoptions.c
index a8e9cbf5..13058262 100644
--- a/source/xrmoptions.c
+++ b/source/xrmoptions.c
@@ -224,7 +224,7 @@ static XrmOption xrmOptions[] = {
{ xrm_String, "cache-dir", { .str = &config.cache_dir }, NULL,
"Directory where history and temporary files are stored.", CONFIG_DEFAULT },
{ xrm_Boolean, "window-thumbnail", { .snum = &config.window_thumbnail }, NULL,
- "Show window thumbnail in window switcher if availalbe.", CONFIG_DEFAULT },
+ "Show window thumbnail (if available) as icon in window switcher.", CONFIG_DEFAULT },
{ xrm_Boolean, "drun-use-desktop-cache", { .snum = &config.drun_use_desktop_cache }, NULL,
"DRUN: build and use a cache with desktop file content.", CONFIG_DEFAULT },
{ xrm_Boolean, "drun-reload-desktop-cache", { .snum = &config.drun_reload_desktop_cache }, NULL,