Skip to content

Commit

Permalink
feat(tasks): ✨ Add task for copying config files in place
Browse files Browse the repository at this point in the history
  • Loading branch information
micxer authored and Michael Weinrich committed Mar 15, 2024
1 parent 578e178 commit e3927a1
Show file tree
Hide file tree
Showing 3 changed files with 307 additions and 0 deletions.
300 changes: 300 additions & 0 deletions files/RectangeConfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,300 @@
{
"bundleId" : "com.knollsoft.Rectangle",
"defaults" : {
"allowAnyShortcut" : {
"bool" : false
},
"almostMaximizeHeight" : {
"float" : 0
},
"almostMaximizeWidth" : {
"float" : 0
},
"alternateDefaultShortcuts" : {
"bool" : true
},
"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" : 1
},
"SUEnableAutomaticChecks" : {
"bool" : false
},
"todo" : {
"int" : 0
},
"todoApplication" : {

},
"todoMode" : {
"bool" : false
},
"todoSidebarSide" : {
"int" : 1
},
"todoSidebarWidth" : {
"float" : 400
},
"traverseSingleScreen" : {
"int" : 0
},
"unsnapRestore" : {
"int" : 0
},
"windowSnapping" : {
"int" : 0
}
},
"shortcuts" : {
"almostMaximize" : {
"keyCode" : 0,
"modifierFlags" : 1835008
},
"bottomHalf" : {
"keyCode" : 125,
"modifierFlags" : 1835008
},
"bottomLeft" : {
"keyCode" : 38,
"modifierFlags" : 786432
},
"bottomRight" : {
"keyCode" : 40,
"modifierFlags" : 786432
},
"center" : {
"keyCode" : 8,
"modifierFlags" : 786432
},
"centerThird" : {
"keyCode" : 3,
"modifierFlags" : 786432
},
"firstThird" : {
"keyCode" : 2,
"modifierFlags" : 786432
},
"firstTwoThirds" : {
"keyCode" : 14,
"modifierFlags" : 786432
},
"larger" : {
"keyCode" : 24,
"modifierFlags" : 786432
},
"lastThird" : {
"keyCode" : 5,
"modifierFlags" : 786432
},
"lastTwoThirds" : {
"keyCode" : 17,
"modifierFlags" : 786432
},
"leftHalf" : {
"keyCode" : 123,
"modifierFlags" : 1835008
},
"maximize" : {
"keyCode" : 46,
"modifierFlags" : 1835008
},
"maximizeHeight" : {
"keyCode" : 126,
"modifierFlags" : 917504
},
"reflowTodo" : {
"keyCode" : 45,
"modifierFlags" : 786432
},
"restore" : {
"keyCode" : 51,
"modifierFlags" : 786432
},
"rightHalf" : {
"keyCode" : 124,
"modifierFlags" : 1835008
},
"smaller" : {
"keyCode" : 27,
"modifierFlags" : 786432
},
"toggleTodo" : {
"keyCode" : 11,
"modifierFlags" : 786432
},
"topHalf" : {
"keyCode" : 126,
"modifierFlags" : 1835008
},
"topLeft" : {
"keyCode" : 32,
"modifierFlags" : 786432
},
"topRight" : {
"keyCode" : 34,
"modifierFlags" : 786432
}
},
"version" : "75"
}
3 changes: 3 additions & 0 deletions main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
when: configure_macos
tags: ['macos']

- import_tasks: tasks/config-files.yml
tags: ['config-files']

- import_tasks: tasks/extra-packages.yml
tags: ['extra-packages']

Expand Down
4 changes: 4 additions & 0 deletions tasks/config-files.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- name: Copy rectangle configuration into place.

Check warning on line 1 in tasks/config-files.yml

View workflow job for this annotation

GitHub Actions / Lint

1:1 [document-start] missing document start "---"
ansible.builtin.copy:
src: RectangeConfig.json
dest: "$HOME/Library/Application Support/Rectangle/RectangleConfig.json"

0 comments on commit e3927a1

Please sign in to comment.