This commit is contained in:
Ray Elliott 2025-07-31 13:37:46 +01:00
parent 0ff8598af6
commit 9c17cf7a61
1 changed files with 11 additions and 0 deletions

11
bspwm-set-ratio.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
# Preset options, with .66 first to simulate preselection
ratio=$(printf ".66\n.75\n.5\n.33\n.25" | dmenu -p "Set split ratio:")
# Exit if cancelled or empty
[ -z "$ratio" ] && exit 1
# Apply to parent node
bspc node @parent --ratio "$ratio"