From 47a7f68cd03948035617b83b31349330ae8e55dc Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Sun, 16 Jul 2023 15:18:46 +0100 Subject: Add --physical-keybindings option. --- doc/config | 4 ++++ doc/tofi.5.md | 7 +++++++ doc/tofi.5.scd | 6 ++++++ 3 files changed, 17 insertions(+) (limited to 'doc') diff --git a/doc/config b/doc/config index 219ef2e..b9242dc 100644 --- a/doc/config +++ b/doc/config @@ -277,6 +277,10 @@ # This option only has an effect when hide-input is set to true. hidden-character = "*" + # If true, use physical keys for shortcuts, regardless of the current + # keyboard layout. If false, use the current layout's keys. + physical-keybindings = true + # Instead of printing the selected entry, print the 1-based index of # the selection. This option has no effect in run or drun mode. If # require-match is set to false, non-matching input will still result diff --git a/doc/tofi.5.md b/doc/tofi.5.md index 3656143..5065752 100644 --- a/doc/tofi.5.md +++ b/doc/tofi.5.md @@ -117,6 +117,13 @@ options. > > Default: \* +**physical-keybindings**=*true\|false* + +> If true, use physical keys for shortcuts, regardless of the current +> keyboard layout. If false, use the current layout's keys. +> +> Default: true + **print-index**=*true\|false* > Instead of printing the selected entry, print the 1-based index of the diff --git a/doc/tofi.5.scd b/doc/tofi.5.scd index de564c5..59f5779 100644 --- a/doc/tofi.5.scd +++ b/doc/tofi.5.scd @@ -109,6 +109,12 @@ options. Default: \* +*physical-keybindings*=_true|false_ + If true, use physical keys for shortcuts, regardless of the current + keyboard layout. If false, use the current layout's keys. + + Default: true + *print-index*=_true|false_ Instead of printing the selected entry, print the 1-based index of the selection. This option has no effect in run or drun mode. If -- cgit v1.2.3