sumeet/golden
bspwm golden-ratio expansion for focused windows, like in the golden-ratio.el plugin for emacs
{ "createdAt": "2018-10-04T08:51:33Z", "defaultBranch": "master", "description": "bspwm golden-ratio expansion for focused windows, like in the golden-ratio.el plugin for emacs", "fullName": "sumeet/golden", "homepage": null, "language": "Python", "name": "golden", "pushedAt": "2020-02-06T16:05:06Z", "stargazersCount": 28, "topics": [], "updatedAt": "2025-11-09T21:17:30Z", "url": "https://github.com/sumeet/golden"}bspwm golden-ratio expansion for focused windows, like in the golden-ratio.el plugin for emacs
Whenever you focus a window, this script will increase its size considerably (by about 1.6x). Whatever you’re working with gets more real estate on the screen. As you interact with different windows, the active one gets expanded.

Usage:
Stick this in your bspwmrc:
exec ~/Projects/golden/run.sh &For example, here’s my full bspwmrc:
#!/bin/shkillall sxhkdsxhkd &
bspc monitor -d 1 2 3 4 5 6
bspc config border_width 1bspc config top_padding 43bspc config window_gap 0
bspc config split_ratio 0.50bspc config borderless_monocle truebspc config gapless_monocle true
bspc config pointer_modifier mod1bspc config pointer_action1 movebspc config pointer_action2 resize_sidebspc config pointer_action3 resize_cornerbspc config focus_follows_pointer true
bspc rule -a retroarch state=floatingbspc rule -a plasmashell state=floating border=off layer=normal manage=off center=truebspc rule -a krunner state=floating
exec ~/Projects/golden/run.sh &Bugs, issues and questions all welcome in the Issues section. Thank you!