Skip to content

Instantly share code, notes, and snippets.

@kasperhartwich
Created February 2, 2023 07:44
Show Gist options
  • Save kasperhartwich/2b9bcc8f5b41d54559ec7fb1937684c3 to your computer and use it in GitHub Desktop.
Save kasperhartwich/2b9bcc8f5b41d54559ec7fb1937684c3 to your computer and use it in GitHub Desktop.
My Rectangle configuration to mimic the hotkeys of Magnet
{
"bundleId" : "com.knollsoft.Rectangle",
"defaults" : {
"allowAnyShortcut" : {
"bool" : false
},
"almostMaximizeHeight" : {
"float" : 0
},
"almostMaximizeWidth" : {
"float" : 0
},
"alternateDefaultShortcuts" : {
"bool" : false
},
"altThirdCycle" : {
"int" : 0
},
"alwaysAccountForStage" : {
"int" : 0
},
"applyGapsToMaximize" : {
"int" : 0
},
"applyGapsToMaximizeHeight" : {
"int" : 0
},
"attemptMatchOnNextPrevDisplay" : {
"int" : 0
},
"autoMaximize" : {
"int" : 0
},
"cascadeAllDeltaSize" : {
"float" : 30
},
"centeredDirectionalMove" : {
"int" : 0
},
"centerHalfCycles" : {
"int" : 0
},
"cornerSnapAreaSize" : {
"float" : 20
},
"curtainChangeSize" : {
"int" : 0
},
"disabledApps" : {
},
"dragFromStage" : {
"int" : 0
},
"enhancedUI" : {
"int" : 1
},
"footprintAlpha" : {
"float" : 0.30000001192092896
},
"footprintAnimationDurationMultiplier" : {
"float" : 0
},
"footprintBorderWidth" : {
"float" : 2
},
"footprintColor" : {
},
"footprintFade" : {
"int" : 0
},
"fullIgnoreBundleIds" : {
},
"gapSize" : {
"float" : 0
},
"hideMenubarIcon" : {
"bool" : false
},
"ignoredSnapAreas" : {
"int" : 0
},
"landscapeSnapAreas" : {
},
"launchOnLogin" : {
"bool" : true
},
"minimumWindowHeight" : {
"float" : 0
},
"minimumWindowWidth" : {
"float" : 0
},
"missionControlDragging" : {
"int" : 0
},
"missionControlDraggingAllowedOffscreenDistance" : {
"float" : 25
},
"missionControlDraggingDisallowedDuration" : {
"int" : 250
},
"moveCursor" : {
"int" : 0
},
"moveCursorAcrossDisplays" : {
"int" : 0
},
"notifiedOfProblemApps" : {
"bool" : false
},
"obtainWindowOnClick" : {
"int" : 0
},
"portraitSnapAreas" : {
},
"relaunchOpensMenu" : {
"bool" : false
},
"resizeOnDirectionalMove" : {
"bool" : false
},
"screenEdgeGapBottom" : {
"float" : 0
},
"screenEdgeGapLeft" : {
"float" : 0
},
"screenEdgeGapRight" : {
"float" : 0
},
"screenEdgeGapsOnMainScreenOnly" : {
"bool" : false
},
"screenEdgeGapTop" : {
"float" : 0
},
"shortEdgeSnapAreaSize" : {
"float" : 145
},
"showAllActionsInMenu" : {
"int" : 0
},
"sixthsSnapArea" : {
"int" : 0
},
"sizeOffset" : {
"float" : 0
},
"snapEdgeMarginBottom" : {
"float" : 5
},
"snapEdgeMarginLeft" : {
"float" : 5
},
"snapEdgeMarginRight" : {
"float" : 5
},
"snapEdgeMarginTop" : {
"float" : 5
},
"snapModifiers" : {
"int" : 0
},
"specifiedHeight" : {
"float" : 1050
},
"specifiedWidth" : {
"float" : 1680
},
"stageSize" : {
"float" : 190
},
"subsequentExecutionMode" : {
"int" : 0
},
"SUEnableAutomaticChecks" : {
"bool" : false
},
"todo" : {
"int" : 0
},
"todoApplication" : {
},
"todoMode" : {
"bool" : false
},
"todoSidebarWidth" : {
"float" : 400
},
"traverseSingleScreen" : {
"int" : 0
},
"unsnapRestore" : {
"int" : 0
},
"windowSnapping" : {
"int" : 0
}
},
"shortcuts" : {
"bottomHalf" : {
"keyCode" : 125,
"modifierFlags" : 786432
},
"bottomLeft" : {
"keyCode" : 38,
"modifierFlags" : 786432
},
"bottomRight" : {
"keyCode" : 40,
"modifierFlags" : 786432
},
"center" : {
"keyCode" : 8,
"modifierFlags" : 786432
},
"centerThird" : {
"keyCode" : 3,
"modifierFlags" : 786432
},
"firstFourth" : {
"keyCode" : 18,
"modifierFlags" : 786432
},
"firstThird" : {
"keyCode" : 2,
"modifierFlags" : 786432
},
"firstThreeFourths" : {
"keyCode" : 43,
"modifierFlags" : 786432
},
"firstTwoThirds" : {
"keyCode" : 14,
"modifierFlags" : 786432
},
"larger" : {
"keyCode" : 124,
"modifierFlags" : 917504
},
"lastFourth" : {
"keyCode" : 21,
"modifierFlags" : 786432
},
"lastThird" : {
"keyCode" : 5,
"modifierFlags" : 786432
},
"lastThreeFourths" : {
"keyCode" : 47,
"modifierFlags" : 786432
},
"lastTwoThirds" : {
"keyCode" : 17,
"modifierFlags" : 786432
},
"leftHalf" : {
"keyCode" : 123,
"modifierFlags" : 786432
},
"maximize" : {
"keyCode" : 36,
"modifierFlags" : 786432
},
"maximizeHeight" : {
"keyCode" : 126,
"modifierFlags" : 917504
},
"nextDisplay" : {
"keyCode" : 124,
"modifierFlags" : 1835008
},
"previousDisplay" : {
"keyCode" : 123,
"modifierFlags" : 1835008
},
"restore" : {
"keyCode" : 51,
"modifierFlags" : 786432
},
"rightHalf" : {
"keyCode" : 124,
"modifierFlags" : 786432
},
"secondFourth" : {
"keyCode" : 19,
"modifierFlags" : 786432
},
"smaller" : {
"keyCode" : 123,
"modifierFlags" : 917504
},
"thirdFourth" : {
"keyCode" : 20,
"modifierFlags" : 786432
},
"topHalf" : {
"keyCode" : 126,
"modifierFlags" : 786432
},
"topLeft" : {
"keyCode" : 32,
"modifierFlags" : 786432
},
"topRight" : {
"keyCode" : 34,
"modifierFlags" : 786432
}
},
"version" : "71"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment