Skip to content

Instantly share code, notes, and snippets.

@Dinir
Created January 3, 2020 23:54
Show Gist options
  • Save Dinir/90c32572c4ab1a44b8b1f66d9d471ec7 to your computer and use it in GitHub Desktop.
Save Dinir/90c32572c4ab1a44b8b1f66d9d471ec7 to your computer and use it in GitHub Desktop.
My Sizer configuration. I use Ctrl+Win+(Alt+)Num1~9 to position a window.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<sizer>
<options showIconInTray="1" startInSafeMode="0" adjustOppositeEdge="0" tooltipOption="3" hotKey="90" hotKeyModifiers="10" hotKeyExtended="0" useDwmExtendedFrames="1"/>
<menu>
<resize description="1280×720 Firefox" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="1282" height="826" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/>
<separator/>
<group description="Move Window up to the Margin" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0">
<macro description="◩" hotKey="103" hotKeyModifiers="11" hotKeyExtended="0">$margin = 16
resize
t = t:workarea + $margin
l = l:workarea + $margin</macro>
<macro description="⬒" hotKey="104" hotKeyModifiers="11" hotKeyExtended="0">$margin = 16
resize
t = t:workarea + $margin
l = ( w:mon - w:win ) / 2</macro>
<macro description="⬔" hotKey="105" hotKeyModifiers="11" hotKeyExtended="0">$margin = 16
resize
t = t:workarea + $margin
l = r:workarea - w:win - $margin</macro>
<macro description="◧" hotKey="100" hotKeyModifiers="11" hotKeyExtended="0">$margin = 16
resize
t = ( h:mon - h:win ) / 2
l = l:workarea + $margin</macro>
<macro description="◨" hotKey="102" hotKeyModifiers="11" hotKeyExtended="0">$margin = 16
resize
t = ( h:mon - h:win ) / 2
l = r:workarea - w:win - $margin</macro>
<macro description="⬕" hotKey="97" hotKeyModifiers="11" hotKeyExtended="0">$margin = 16
resize
t = b:workarea - h:win - $margin
l = l:workarea + $margin</macro>
<macro description="⬓" hotKey="98" hotKeyModifiers="11" hotKeyExtended="0">$margin = 16
resize
t = b:workarea - h:win - $margin
l = ( w:mon - w:win ) / 2</macro>
<macro description="◪" hotKey="99" hotKeyModifiers="11" hotKeyExtended="0">$margin = 16
resize
t = b:workarea - h:win - $margin
l = r:workarea - w:win - $margin</macro>
</group>
<group description="Move Window" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0">
<resize description="◩" hotKey="103" hotKeyModifiers="10" hotKeyExtended="0" width="640" height="480" relocate="1" monitor="-2" top="" left="" noresize="1" relocateCoords="1"/>
<resize description="⬒" hotKey="104" hotKeyModifiers="10" hotKeyExtended="0" width="640" height="480" relocate="2" monitor="-2" top="" left="" noresize="1" relocateCoords="0"/>
<resize description="⬔" hotKey="105" hotKeyModifiers="10" hotKeyExtended="0" width="640" height="480" relocate="3" monitor="-2" top="" left="" noresize="1" relocateCoords="1"/>
<resize description="◧" hotKey="100" hotKeyModifiers="10" hotKeyExtended="0" width="640" height="480" relocate="4" monitor="-2" top="" left="" noresize="1" relocateCoords="1"/>
<resize description="🞔" hotKey="101" hotKeyModifiers="10" hotKeyExtended="0" width="640" height="480" relocate="5" monitor="-2" top="" left="" noresize="1" relocateCoords="0"/>
<resize description="◨" hotKey="102" hotKeyModifiers="10" hotKeyExtended="0" width="640" height="480" relocate="6" monitor="-2" top="" left="" noresize="1" relocateCoords="0"/>
<resize description="⬕" hotKey="97" hotKeyModifiers="10" hotKeyExtended="0" width="640" height="480" relocate="7" monitor="-2" top="" left="" noresize="1" relocateCoords="1"/>
<resize description="⬓" hotKey="98" hotKeyModifiers="10" hotKeyExtended="0" width="640" height="480" relocate="8" monitor="-2" top="" left="" noresize="1" relocateCoords="0"/>
<resize description="◪" hotKey="99" hotKeyModifiers="10" hotKeyExtended="0" width="640" height="480" relocate="9" monitor="-2" top="" left="" noresize="1" relocateCoords="1"/>
</group>
<separator/>
<group description="4:3" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0">
<resize description="320×240" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="320" height="240" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/>
<resize description="640×480" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="640" height="480" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/>
<resize description="800×600" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="800" height="600" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/>
<resize description="1024×768" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="1024" height="768" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/>
<resize description="1152×864" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="1152" height="864" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/>
<resize description="1280×960" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="1280" height="960" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/>
<resize description="1400×1050" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="1400" height="1050" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/>
<resize description="1600×1200" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="1600" height="1200" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/>
</group>
<group description="16:9" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0">
<resize description="852×480" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="852" height="480" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/>
<resize description="1280×720" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="1280" height="720" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/>
<resize description="1365×768" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="1365" height="768" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/>
<resize description="1600×900" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="1600" height="900" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/>
<resize description="1920×1080" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="1920" height="1080" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/>
</group>
<group description="16:10" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0">
<resize description="320×200" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="320" height="200" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/>
<resize description="640×400" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="640" height="400" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/>
<resize description="1280×800" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="1280" height="800" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/>
<resize description="1440×900" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="1440" height="900" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/>
<resize description="1680×1050" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="1680" height="1050" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/>
<resize description="1920×1200" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="1920" height="1200" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/>
</group>
<separator/>
<template/>
<configDialog/>
</menu>
</sizer>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment