Add set-column-width action

This commit is contained in:
Ivan Molodetskikh
2023-10-03 11:38:42 +04:00
parent bb3fbe2e83
commit 7558ac14e6
4 changed files with 188 additions and 5 deletions
+11
View File
@@ -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; }