Skip to content
forked from sumeet/golden

bspwm golden-ratio expansion for focused windows, like in the golden-ratio.el plugin for emacs

Notifications You must be signed in to change notification settings

indeedwatson/golden

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Demo

Usage:

Stick this in your bspwmrc:

exec ~/Projects/golden/run.sh &

For example, here's my full bspwmrc:

#!/bin/sh
killall sxhkd
sxhkd &

bspc monitor -d 1 2 3 4 5 6

bspc config border_width 1
bspc config top_padding 43
bspc config window_gap 0

bspc config split_ratio 0.50
bspc config borderless_monocle true
bspc config gapless_monocle true

bspc config pointer_modifier mod1
bspc config pointer_action1 move
bspc config pointer_action2 resize_side
bspc config pointer_action3 resize_corner
bspc config focus_follows_pointer true

bspc rule -a retroarch state=floating
bspc rule -a plasmashell state=floating border=off layer=normal manage=off center=true
bspc rule -a krunner state=floating

pkill golden.sh &
~/Projects/golden/golden.sh &

Bugs, issues and questions all welcome in the Issues section. Thank you!

About

bspwm golden-ratio expansion for focused windows, like in the golden-ratio.el plugin for emacs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 84.0%
  • Shell 16.0%