From 86cdcae55b4e8cbfaa3bbcd0c65eb5ea926a096d Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Wed, 29 Apr 2020 12:59:49 +0200 Subject: [Window] Update manpage and --help. --- doc/rofi.1 | 6 ++++++ doc/rofi.1.markdown | 6 ++++++ source/xrmoptions.c | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) 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, -- cgit v1.2.3