From 7558ac14e6473c98bc4eea442b28a5ae330115ef Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 3 Oct 2023 11:38:42 +0400 Subject: Add set-column-width action --- resources/default-config.kdl | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'resources') diff --git a/resources/default-config.kdl b/resources/default-config.kdl index b68bd2a3..a6e3667e 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -173,6 +173,17 @@ binds { Mod+F { maximize-column; } Mod+Shift+F { fullscreen-window; } + // Finer width adjustments. + // This command can also: + // * set width in pixels: "1000" + // * adjust width in pixels: "-5" or "+5" + // * set width as a percentage of screen width: "25%" + // * adjust width as a percentage of screen width: "-10%" or "+10%" + // Pixel sizes use logical, or scaled, pixels. I.e. on an output with scale 2.0, + // set-column-width "100" will make the column occupy 200 physical screen pixels. + Mod+Minus { set-column-width "-10%"; } + Mod+Equal { set-column-width "+10%"; } + Print { screenshot; } Mod+Shift+E { quit; } -- cgit