This commit is contained in:
Ray Elliott 2025-07-31 13:37:46 +01:00
commit 9c17cf7a61

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"