diff --git a/doc/rofi.1 b/doc/rofi.1 index 268042d8..248a333f 100644 --- a/doc/rofi.1 +++ b/doc/rofi.1 @@ -927,7 +927,7 @@ default: {w} {c} {t} \fB\fC\-window\-command\fR \fIcmd\fP .PP -Set command to execute on selected window for a custom action. +Set command to execute on selected window for a alt action (\fB\fC\-kb\-accept\-alt\fR). See \fIPATTERN\fP\&. .PP diff --git a/doc/rofi.1.markdown b/doc/rofi.1.markdown index e9444966..afe1fe78 100644 --- a/doc/rofi.1.markdown +++ b/doc/rofi.1.markdown @@ -547,7 +547,7 @@ default: {w} {c} {t} `-window-command` *cmd* -Set command to execute on selected window for a custom action. +Set command to execute on selected window for a alt action (`-kb-accept-alt`). See *PATTERN*. Default: *"wmctrl -i -R {window}"* diff --git a/source/xrmoptions.c b/source/xrmoptions.c index 30e20160..aff2ec9b 100644 --- a/source/xrmoptions.c +++ b/source/xrmoptions.c @@ -127,7 +127,7 @@ static XrmOption xrmOptions[] = { { xrm_String, "run-shell-command", { .str = &config.run_shell_command }, NULL, "Run command to execute that runs in shell", CONFIG_DEFAULT }, { xrm_String, "window-command", { .str = &config.window_command }, NULL, - "Command executed on accep-entry-custom for window modus", CONFIG_DEFAULT }, + "Command to executed when -kb-accept-alt binding is hit on selected window ", CONFIG_DEFAULT }, { xrm_String, "window-match-fields", { .str = &config.window_match_fields }, NULL, "Window fields to match in window mode", CONFIG_DEFAULT }, { xrm_String, "icon-theme", { .str = &config.icon_theme }, NULL,