diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2016-05-12 11:31:06 +0200 |
---|---|---|
committer | Quentin Glidic <sardemff7+git@sardemff7.net> | 2016-05-12 11:31:12 +0200 |
commit | db4f08748741813e03aa83177be9825f6d068c00 (patch) | |
tree | 97d12f8f130799e00be74465a2379c01b426de73 /doc/rofi-manpage.markdown | |
parent | 3bd41b9a419fcf01250d614d1e05c8a79576dcd8 (diff) |
window: Make custom action run a command on the window
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'doc/rofi-manpage.markdown')
-rw-r--r-- | doc/rofi-manpage.markdown | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/rofi-manpage.markdown b/doc/rofi-manpage.markdown index 31da0a27..0e71767c 100644 --- a/doc/rofi-manpage.markdown +++ b/doc/rofi-manpage.markdown @@ -22,6 +22,7 @@ [ -filter *filter* ] [ -ssh-client *client* ] [ -ssh-command *command* ] +[ -window-command *command* ] [ -disable-history ] [ -levenshtein-sort ] [ -case-sensitive ] @@ -448,6 +449,13 @@ If set, use an external tool to generate list of executable commands. Uses 'run- Default: *""* +`-window-command` *cmd* + +Set command to execute on selected window for custom action. +See *PATTERN*. + +Default: *"xkill -id {window}"* + ### Combi settings `-combi-modi` *mode1,mode2* @@ -713,11 +721,13 @@ A keybinding starting with `!` will act when all keys have been released. Show a list of all the windows and allow switching between them. Pressing the `delete-entry` binding (`shift-delete`) will kill the window. +Pressing the `accept-custom` binding (`control-enter` or `shift-enter`) will run a command on the window. ### WindowCD Shows a list of the windows on the current desktop and allows switching between them. Pressing the `delete-entry` binding (`shift-delete`) will kill the window. +Pressing the `accept-custom` binding (`control-enter` or `shift-enter`) will run a command on the window. ### Run |