From d9319e0f66c3c08909c2e578f75a5d80927490b3 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Tue, 27 Oct 2026 13:48:14 -0700 Subject: [PATCH] docs(komorebic): say what scrolling-layout-columns means The Scrolling layout no longer shares the screen between however many windows there are until `columns` of them exist. The count is how many columns fit across the screen, which is how wide a new column is, so the help says that, and not that it is the number of visible columns. --- docs/cli/scrolling-layout-columns.md | 4 ++-- komorebic/src/main.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/cli/scrolling-layout-columns.md b/docs/cli/scrolling-layout-columns.md index d417c279..b33f7d37 100644 --- a/docs/cli/scrolling-layout-columns.md +++ b/docs/cli/scrolling-layout-columns.md @@ -1,13 +1,13 @@ # scrolling-layout-columns ``` -Set the number of visible columns for the Scrolling layout on the focused workspace +Set how many columns fit across the Scrolling layout on the focused workspace Usage: komorebic scrolling-layout-columns Arguments: - Desired number of visible columns + Number of columns that fit across the screen Options: -h, --help diff --git a/komorebic/src/main.rs b/komorebic/src/main.rs index d874ef87..40221b1c 100644 --- a/komorebic/src/main.rs +++ b/komorebic/src/main.rs @@ -624,7 +624,7 @@ struct EagerFocus { #[derive(Parser)] struct ScrollingLayoutColumns { - /// Desired number of visible columns + /// Number of columns that fit across the screen count: NonZeroUsize, } @@ -983,7 +983,7 @@ enum SubCommand { /// Cycle between available layouts #[clap(arg_required_else_help = true)] CycleLayout(CycleLayout), - /// Set the number of visible columns for the Scrolling layout on the focused workspace + /// Set how many columns fit across the Scrolling layout on the focused workspace #[clap(arg_required_else_help = true)] ScrollingLayoutColumns(ScrollingLayoutColumns), /// Set the layout column and row ratios for the focused workspace