~earboxer/xfceShiftIt

ecb806da4bed2072d1764b5aeecb6b7f20fd78d4 — Zach DeCook 6 months ago ffd6f3c
* Snapright: Add --left argument
1 files changed, 5 insertions(+), 1 deletions(-)

M snapright
M snapright => snapright +5 -1
@@ 25,5 25,9 @@ end
set MYHEIGHT (math "$DISPLAYH - 100")
xdotool getactivewindow windowsize $MYWIDTH $MYHEIGHT

set x (math "$DISPLAYW - $MYWIDTH")
if [ $argv[1] = "--left" ]
    set x 0
else
    set x (math "$DISPLAYW - $MYWIDTH")
end
xdotool getactivewindow windowmove $x 0