config cleanup unused and non supported options

This commit is contained in:
Alexander Mohr 2025-08-01 22:32:52 +02:00
parent f89b67fff7
commit 7e23ec1c90
2 changed files with 1 additions and 11 deletions

View file

@ -176,7 +176,6 @@ The command line options have precedence over the configuration file.
| dynamic_lines_limit | bool | true | Dynamic lines do not exceed max height |
| layer | Layer | Top | Defines the layer worf is running on |
| single_click | bool | false | Single click selects entry |
| pre_display_exec | bool | None | Pre-display exec option |
| fuzzy_min_score | float | 0.0 | Minimum score for fuzzy search |
| row_box_orientation | Orientation | Horizontal | Orientation of items in row box |
| line_wrap | WrapMode | None | Defines if lines should wrap |
@ -251,7 +250,6 @@ dynamic_lines = false
dynamic_lines_limit = true
layer = "Top"
single_click = false
pre_display_exec = false
fuzzy_min_score = 0.0
row_box_orientation = "Horizontal"
line_wrap = "None"
@ -354,6 +352,7 @@ The possibilities are endless! Here are some powerful examples of what you can b
- `exec-search` not supported
- `parse-search` not supported
- `pre_display_exec` not supported
- `pre-display-cmd` not supported
- All custom keys that change the default bindings for navigation like up, down, page, etc.
- key_custom_(n) is not supported, such specialized behaviour can be achieved via the API though.

View file

@ -455,9 +455,6 @@ pub struct Config {
#[clap(short = 'i', long = "insensitive")]
insensitive: Option<bool>,
#[clap(short = 'q', long = "parse-search")]
parse_search: Option<bool>, // todo support this
/// set where the window is displayed.
/// can be used to anchor a window to an edge by
/// setting top,left for example
@ -501,9 +498,6 @@ pub struct Config {
// #[clap(short = 'o', long = "monitor")]
// monitor: Option<String>, // todo support this
// #[clap(short = 'r', long = "pre-display-cmd")]
// pre_display_cmd: Option<String>, // todo support this
/// Defines if window is aligned vertically or horizontally.
#[clap(long = "orientation")]
orientation: Option<Orientation>,
@ -578,9 +572,6 @@ pub struct Config {
#[clap(long = "single-click")]
single_click: Option<bool>,
#[clap(long = "pre-display-exec")]
pre_display_exec: Option<bool>, // todo support this
/// Minimum score for a fuzzy search to be shown
#[clap(long = "fuzzy-min-score")]
fuzzy_min_score: Option<f64>,