~earboxer/xfceShiftIt

744e268d5739e915385e81c40338282a1118afa2 — Zach DeCook 6 months ago ecb806d
* Snapright: Arbitrarily change margin so firefox works

(firefox has a minimum size that is larger than 1/3 my screen width plus 30)
1 files changed, 1 insertions(+), 1 deletions(-)

M snapright
M snapright => snapright +1 -1
@@ 8,7 8,7 @@ set DISPLAYH (xdotool getdisplaygeometry | cut -d' ' -f2)
eval (xdotool getactivewindow getwindowgeometry --shell | sed 's/=/ /g' | sed 's/^/;set /g')

# Some windows don't like certain sizes, so we add a little play here.
set MARGIN 30
set MARGIN 50

# Do the resize
set third (math -s0 "($DISPLAYW / 3) + $MARGIN")