From 0d10e1513ebf3ada1f6454c5706655494527f748 Mon Sep 17 00:00:00 2001 From: Yann Bertrand <5855339+yannbertrand@users.noreply.github.com> Date: Thu, 17 Aug 2023 15:54:54 +0200 Subject: [PATCH] :rotating_light: Run prettier v3 --- .github/ISSUE_TEMPLATE/add-a-new-command.md | 3 +- .../ISSUE_TEMPLATE/looking-for-a-command.md | 3 +- .github/renovate.json | 4 +- .github/workflows/record-images.yml | 55 +- .prettierignore | 1 + .prettierrc | 2 +- CODE_OF_CONDUCT.md | 26 +- docs/.vuepress/config.yml | 130 +- docs/activity-monitor/icontype.md | 38 +- docs/activity-monitor/readme.md | 20 +- docs/activity-monitor/updateperiod.md | 35 +- docs/desktop/_fxsortfoldersfirstondesktop.md | 31 +- docs/desktop/createdesktop.md | 31 +- docs/desktop/readme.md | 20 +- .../showexternalharddrivesondesktop.md | 29 +- docs/desktop/showharddrivesondesktop.md | 29 +- docs/desktop/showmountedserversondesktop.md | 29 +- docs/desktop/showremovablemediaondesktop.md | 29 +- docs/dock/autohide-delay.md | 38 +- docs/dock/autohide-time-modifier.md | 39 +- docs/dock/autohide.md | 35 +- docs/dock/mineffect.md | 45 +- docs/dock/orientation.md | 44 +- docs/dock/readme.md | 20 +- docs/dock/scroll-to-open.md | 31 +- docs/dock/show-recents.md | 37 +- docs/dock/static-only.md | 24 +- docs/dock/tilesize.md | 35 +- docs/feedback-assistant/autogather.md | 30 +- docs/feedback-assistant/readme.md | 23 +- docs/finder/_fxsortfoldersfirst.md | 33 +- docs/finder/appleshowallextensions.md | 35 +- docs/finder/appleshowallfiles.md | 35 +- docs/finder/fxdefaultsearchscope.md | 31 +- docs/finder/fxenableextensionchangewarning.md | 37 +- docs/finder/fxpreferredviewstyle.md | 31 +- docs/finder/fxremoveoldtrashitems.md | 29 +- .../nsdocumentsavenewdocumentstocloud.md | 31 +- docs/finder/nstableviewdefaultsizemode.md | 36 +- .../finder/nstoolbartitleviewrolloverdelay.md | 35 +- docs/finder/quitmenuitem.md | 35 +- docs/finder/readme.md | 20 +- docs/finder/showpathbar.md | 33 +- docs/finder/showwindowtitlebaricons.md | 28 +- docs/fr/activity-monitor/icontype.md | 38 +- docs/fr/activity-monitor/readme.md | 20 +- docs/fr/activity-monitor/updateperiod.md | 31 +- .../desktop/_fxsortfoldersfirstondesktop.md | 27 +- docs/fr/desktop/createdesktop.md | 31 +- docs/fr/desktop/readme.md | 20 +- .../showexternalharddrivesondesktop.md | 29 +- docs/fr/desktop/showharddrivesondesktop.md | 29 +- .../fr/desktop/showmountedserversondesktop.md | 29 +- .../fr/desktop/showremovablemediaondesktop.md | 29 +- docs/fr/dock/autohide-delay.md | 38 +- docs/fr/dock/autohide-time-modifier.md | 35 +- docs/fr/dock/autohide.md | 35 +- docs/fr/dock/mineffect.md | 41 +- docs/fr/dock/orientation.md | 44 +- docs/fr/dock/readme.md | 20 +- docs/fr/dock/show-recents.md | 37 +- docs/fr/dock/static-only.md | 24 +- docs/fr/dock/tilesize.md | 35 +- docs/fr/feedback-assistant/autogather.md | 30 +- docs/fr/feedback-assistant/readme.md | 19 +- docs/fr/finder/_fxsortfoldersfirst.md | 29 +- docs/fr/finder/appleshowallextensions.md | 35 +- docs/fr/finder/appleshowallfiles.md | 35 +- docs/fr/finder/fxdefaultsearchscope.md | 31 +- .../finder/fxenableextensionchangewarning.md | 37 +- docs/fr/finder/fxpreferredviewstyle.md | 27 +- docs/fr/finder/fxremoveoldtrashitems.md | 29 +- .../nsdocumentsavenewdocumentstocloud.md | 27 +- docs/fr/finder/nstableviewdefaultsizemode.md | 36 +- .../finder/nstoolbartitleviewrolloverdelay.md | 31 +- docs/fr/finder/quitmenuitem.md | 31 +- docs/fr/finder/readme.md | 20 +- docs/fr/finder/showpathbar.md | 29 +- docs/fr/finder/showwindowtitlebaricons.md | 28 +- docs/fr/menubar/dateformat.md | 36 +- docs/fr/menubar/flashdateseparators.md | 33 +- docs/fr/menubar/readme.md | 23 +- docs/fr/misc/applepressandholdenabled.md | 34 +- docs/fr/misc/devmode.md | 35 +- ...enable-spring-load-actions-on-all-items.md | 29 +- docs/fr/misc/focusfollowsmouse.md | 29 +- docs/fr/misc/readme.md | 19 +- .../fr/misc/userwantsplaybacknotifications.md | 25 +- docs/fr/mission-control/mru-spaces.md | 35 +- docs/fr/mission-control/readme.md | 20 +- docs/fr/readme.md | 53 +- docs/fr/safari/readme.md | 20 +- .../safari/showfullurlinsmartsearchfield.md | 25 +- docs/fr/screenshots/disable-shadow.md | 35 +- docs/fr/screenshots/include-date.md | 36 +- docs/fr/screenshots/location.md | 31 +- docs/fr/screenshots/readme.md | 20 +- docs/fr/screenshots/show-thumbnail.md | 37 +- docs/fr/screenshots/type.md | 51 +- docs/fr/simulator/readme.md | 19 +- docs/fr/simulator/screenshotsavelocation.md | 28 +- docs/fr/textedit/readme.md | 19 +- docs/fr/textedit/richtext.md | 33 +- .../donotoffernewdisksforbackup.md | 31 +- docs/fr/timemachine/readme.md | 19 +- .../xcode/ideadditionalcounterpartsuffixes.md | 27 +- docs/fr/xcode/readme.md | 23 +- docs/fr/xcode/showbuildoperationduration.md | 23 +- docs/menubar/dateformat.md | 37 +- docs/menubar/flashdateseparators.md | 37 +- docs/menubar/readme.md | 23 +- docs/misc/applepressandholdenabled.md | 34 +- docs/misc/devmode.md | 39 +- ...enable-spring-load-actions-on-all-items.md | 31 +- docs/misc/focusfollowsmouse.md | 28 +- docs/misc/lsquarantine.md | 28 +- docs/misc/nsclosealwaysconfirmschanges.md | 30 +- docs/misc/readme.md | 19 +- docs/misc/userwantsplaybacknotifications.md | 29 +- .../applespacesswitchonactivate.md | 29 +- docs/mission-control/expose-group-apps.md | 28 +- docs/mission-control/mru-spaces.md | 35 +- docs/mission-control/readme.md | 20 +- docs/mission-control/spans-displays.md | 29 +- docs/readme.md | 54 +- docs/safari/readme.md | 20 +- docs/safari/showfullurlinsmartsearchfield.md | 29 +- docs/screenshots/disable-shadow.md | 41 +- docs/screenshots/include-date.md | 40 +- docs/screenshots/location.md | 35 +- docs/screenshots/readme.md | 20 +- docs/screenshots/show-thumbnail.md | 39 +- docs/screenshots/type.md | 55 +- docs/simulator/readme.md | 23 +- docs/simulator/screenshotsavelocation.md | 28 +- docs/textedit/readme.md | 23 +- docs/textedit/richtext.md | 33 +- .../donotoffernewdisksforbackup.md | 31 +- docs/timemachine/readme.md | 23 +- docs/trackpad/dragging.md | 33 +- docs/trackpad/draglock.md | 33 +- docs/trackpad/firstclickthreshold.md | 41 +- docs/trackpad/readme.md | 23 +- docs/trackpad/trackpadthreefingerdrag.md | 33 +- .../xcode/ideadditionalcounterpartsuffixes.md | 27 +- docs/xcode/readme.md | 23 +- docs/xcode/showbuildoperationduration.md | 23 +- package.json | 6 +- readme.md | 54 +- record/dock/autohide-delay/0.5.js | 12 +- record/dock/autohide-delay/0.js | 12 +- record/dock/autohide-time-modifier/0.5.js | 12 +- record/dock/autohide-time-modifier/0.js | 12 +- record/dock/autohide-time-modifier/2.js | 12 +- record/dock/mineffect/genie.js | 10 +- record/dock/mineffect/scale.js | 10 +- record/dock/mineffect/suck.js | 10 +- record/dock/orientation/bottom.js | 4 +- record/dock/orientation/left.js | 2 +- record/dock/orientation/right.js | 2 +- record/dock/readme.js | 2 +- record/dock/show-recents/false.js | 4 +- record/dock/show-recents/true.js | 4 +- record/dock/tilesize/36.js | 2 +- record/dock/tilesize/48.js | 2 +- record/finder/AppleShowAllFiles/false.js | 4 +- record/finder/AppleShowAllFiles/true.js | 4 +- .../FXEnableExtensionChangeWarning/false.js | 8 +- .../FXEnableExtensionChangeWarning/true.js | 8 +- record/finder/NSTableViewDefaultSizeMode/1.js | 6 +- record/finder/NSTableViewDefaultSizeMode/2.js | 6 +- record/finder/NSTableViewDefaultSizeMode/3.js | 6 +- .../NSToolbarTitleViewRolloverDelay/0.5.js | 13 +- .../NSToolbarTitleViewRolloverDelay/0.js | 13 +- .../NSToolbarTitleViewRolloverDelay/1.js | 13 +- record/finder/ShowPathbar/false.js | 2 +- record/finder/ShowPathbar/true.js | 2 +- record/finder/_FXSortFoldersFirst/false.js | 8 +- record/finder/_FXSortFoldersFirst/true.js | 10 +- .../finder/showWindowTitlebarIcons/false.js | 6 +- record/finder/showWindowTitlebarIcons/true.js | 6 +- record/mac-runner.js | 12 +- record/menubar/DateFormat/EEE_HH.mm.ss.js | 14 +- .../menubar/DateFormat/EEE_d_MMM_HH.mm.ss.js | 14 +- record/menubar/DateFormat/EEE_h.mm.ss.js | 14 +- record/menubar/FlashDateSeparators/false.js | 14 +- record/menubar/FlashDateSeparators/true.js | 14 +- record/record.js | 6 +- .../ShowFullURLInSmartSearchField/false.js | 8 +- .../ShowFullURLInSmartSearchField/true.js | 8 +- record/screenshots/disable-shadow/false.js | 2 +- record/screenshots/disable-shadow/true.js | 2 +- record/textedit/RichText/false.js | 4 +- record/textedit/RichText/true.js | 6 +- record/utils.js | 4 +- yarn.lock | 5509 ++++++++--------- 196 files changed, 5340 insertions(+), 5063 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/add-a-new-command.md b/.github/ISSUE_TEMPLATE/add-a-new-command.md index 6d4669f..0180a78 100644 --- a/.github/ISSUE_TEMPLATE/add-a-new-command.md +++ b/.github/ISSUE_TEMPLATE/add-a-new-command.md @@ -4,11 +4,11 @@ about: Found a `defaults` that's not listed title: '' labels: new command assignees: '' - --- + - [ ] I made sure this command is not in the commands list - [ ] I searched and didn't find this command in the listed issues - [ ] I know this `defaults` command exists @@ -16,6 +16,7 @@ assignees: '' - [ ] I know this command is deprecated on macOS current version + - Folder: - Command: - Argument type (if applicable): diff --git a/.github/ISSUE_TEMPLATE/looking-for-a-command.md b/.github/ISSUE_TEMPLATE/looking-for-a-command.md index d75135f..546858d 100644 --- a/.github/ISSUE_TEMPLATE/looking-for-a-command.md +++ b/.github/ISSUE_TEMPLATE/looking-for-a-command.md @@ -4,13 +4,14 @@ about: I'd like to automate something but I can't find the command title: '' labels: discussion assignees: '' - --- + - [ ] I made sure this feature is not in the commands list - [ ] I searched and didn't find this feature request in the listed issues + I'm looking for a command diff --git a/.github/renovate.json b/.github/renovate.json index 7790f0b..5e7e590 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,7 +1,5 @@ { - "extends": [ - "config:base" - ], + "extends": ["config:base"], "commitMessagePrefix": ":arrow_up:", "commitMessageAction": "Upgrade", "commitMessageTopic": "{{depName}}", diff --git a/.github/workflows/record-images.yml b/.github/workflows/record-images.yml index 4b8a862..8de3b5d 100644 --- a/.github/workflows/record-images.yml +++ b/.github/workflows/record-images.yml @@ -11,36 +11,35 @@ jobs: os: [macos-13.0] steps: + - name: Checkout + uses: actions/checkout@master - - name: Checkout - uses: actions/checkout@master + - name: Install Node.js + uses: actions/setup-node@v3 + with: + node-version: 16.20.2 - - name: Install Node.js - uses: actions/setup-node@v3 - with: - node-version: 16.20.2 + - name: Get yarn cache + working-directory: record + id: yarn-cache + run: echo "::set-output name=dir::$(yarn cache dir)" + - uses: actions/cache@v3 + with: + path: ${{ steps.yarn-cache.outputs.dir }} + key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-yarn- - - name: Get yarn cache - working-directory: record - id: yarn-cache - run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v3 - with: - path: ${{ steps.yarn-cache.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- + - run: yarn install --frozen-lockfile + working-directory: record - - run: yarn install --frozen-lockfile - working-directory: record + - run: yarn record:next + working-directory: record - - run: yarn record:next - working-directory: record - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 - with: - commit-message: ':camera: Update images and videos ${{ matrix.os }}' - title: ':camera: Update images and videos ${{ matrix.os }}' - branch: update-images-and-videos-${{ matrix.os }} - delete-branch: true + - name: Create Pull Request + uses: peter-evans/create-pull-request@v5 + with: + commit-message: ':camera: Update images and videos ${{ matrix.os }}' + title: ':camera: Update images and videos ${{ matrix.os }}' + branch: update-images-and-videos-${{ matrix.os }} + delete-branch: true diff --git a/.prettierignore b/.prettierignore index b41e790..5bdd2fc 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1,2 @@ *.handlebars +dist \ No newline at end of file diff --git a/.prettierrc b/.prettierrc index 51d9b5f..2a6e6ac 100644 --- a/.prettierrc +++ b/.prettierrc @@ -2,4 +2,4 @@ "semi": false, "tabWidth": 2, "singleQuote": true -} \ No newline at end of file +} diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 8695286..c7b1b59 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -14,22 +14,22 @@ appearance, race, religion, or sexual identity and orientation. Examples of behavior that contributes to creating a positive environment include: -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members +- Using welcoming and inclusive language +- Being respectful of differing viewpoints and experiences +- Gracefully accepting constructive criticism +- Focusing on what is best for the community +- Showing empathy towards other community members Examples of unacceptable behavior by participants include: -* The use of sexualized language or imagery and unwelcome sexual attention or - advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic - address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting +- The use of sexualized language or imagery and unwelcome sexual attention or + advances +- Trolling, insulting/derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or electronic + address, without explicit permission +- Other conduct which could reasonably be considered inappropriate in a + professional setting ## Our Responsibilities diff --git a/docs/.vuepress/config.yml b/docs/.vuepress/config.yml index 88bdc5a..cc2c3f3 100644 --- a/docs/.vuepress/config.yml +++ b/docs/.vuepress/config.yml @@ -1,83 +1,65 @@ --- - title: 'macOS defaults' description: 'Uncomplete list of macOS defaults commands with demos ✨' head: - - - - link - - rel: "preload" - href: "/logo.svg" - as: "image" - - - - link - - rel: "apple-touch-icon" - sizes: "180x180" - href: "/apple-touch-icon.png" - - - - link - - rel: "icon" - type: "image/png" - sizes: "32x32" - href: "/favicon-32x32.png" - - - - link - - rel: "icon" - type: "image/png" - sizes: "16x16" - href: "/favicon-16x16.png" - - - - link - - rel: "manifest" - href: "/site.webmanifest" - - - - link - - rel: "mask-icon" - href: "/safari-pinned-tab.svg" - color: "#004bbd" - - - - meta + - - link + - rel: 'preload' + href: '/logo.svg' + as: 'image' + - - link + - rel: 'apple-touch-icon' + sizes: '180x180' + href: '/apple-touch-icon.png' + - - link + - rel: 'icon' + type: 'image/png' + sizes: '32x32' + href: '/favicon-32x32.png' + - - link + - rel: 'icon' + type: 'image/png' + sizes: '16x16' + href: '/favicon-16x16.png' + - - link + - rel: 'manifest' + href: '/site.webmanifest' + - - link + - rel: 'mask-icon' + href: '/safari-pinned-tab.svg' + color: '#004bbd' + - - meta - name: 'viewport' content: 'width=device-width,initial-scale=1' - - - - meta - - name: "msapplication-TileColor" - content: "#da532c" - - - - meta - - name: "theme-color" - content: "#ffffff" - - - - meta - - http-equiv: "Content-Type" - content: "text/html; charset=utf-8" - - - - meta - - property: "twitter:site" - content: "@macos_defaults" - - - - meta - - property: "twitter:creator" - content: "@_YannBertrand" - - - - meta - - property: "og:site_name" - content: "macOS defaults" - - - - meta - - property: "og:url" - content: "https://macos-defaults.netlify.app" - - - - meta - - property: "og:type" - content: "website" - - - - meta - - property: "og:image:alt" - content: "" - - - - meta - - name: "author" - content: "Yann Bertrand" + - - meta + - name: 'msapplication-TileColor' + content: '#da532c' + - - meta + - name: 'theme-color' + content: '#ffffff' + - - meta + - http-equiv: 'Content-Type' + content: 'text/html; charset=utf-8' + - - meta + - property: 'twitter:site' + content: '@macos_defaults' + - - meta + - property: 'twitter:creator' + content: '@_YannBertrand' + - - meta + - property: 'og:site_name' + content: 'macOS defaults' + - - meta + - property: 'og:url' + content: 'https://macos-defaults.netlify.app' + - - meta + - property: 'og:type' + content: 'website' + - - meta + - property: 'og:image:alt' + content: '' + - - meta + - name: 'author' + content: 'Yann Bertrand' evergreen: true plugins: sitemap: diff --git a/docs/activity-monitor/icontype.md b/docs/activity-monitor/icontype.md index f33f407..698e78d 100644 --- a/docs/activity-monitor/icontype.md +++ b/docs/activity-monitor/icontype.md @@ -1,19 +1,20 @@ --- metaTitle: Dock Icon type | Activity Monitor | macOS defaults meta: - - property: "og:title" + - property: 'og:title' content: macOS defaults > Activity Monitor > Dock Icon type - - name: "description" + - name: 'description' content: "Choose what information should be shown in the app's Dock icon, if any." - - property: "og:description" + - property: 'og:description' content: "Choose what information should be shown in the app's Dock icon, if any." - - property: "twitter:card" - content: "summary" - - property: "twitter:image" - content: "https://macos-defaults.netlify.app/media-1x1.webp" - - property: "og:image" - content: "https://macos-defaults.netlify.app/media-1x1.jpg" + - property: 'twitter:card' + content: 'summary' + - property: 'twitter:image' + content: 'https://macos-defaults.netlify.app/media-1x1.webp' + - property: 'og:image' + content: 'https://macos-defaults.netlify.app/media-1x1.jpg' --- + # Dock Icon type Choose what information should be shown in the app's Dock icon, if any. @@ -21,14 +22,14 @@ Choose what information should be shown in the app's Dock icon, if any. - **Tested on macOS**: - * Ventura - * Monterey + - Ventura + - Monterey - **Parameter type**: int - * 0 - * 2 - * 3 - * 5 - * 6 + - 0 + - 2 + - 3 + - 5 + - 6 ## Set to `0` (default value) @@ -44,7 +45,6 @@ Show Network usage over time, as two mirrored line graphs. The top (blue) chart shows down-stream traffic. The bottom (red) chart shows up-stream traffic. - ```bash defaults write com.apple.ActivityMonitor "IconType" -int "2" && killall Activity\ Monitor ``` @@ -55,7 +55,6 @@ Show Disk usage over time, as two mirrored line graphs. The top (blue) chart shows disk read traffic. The bottom (red) chart shows disk write traffic. - ```bash defaults write com.apple.ActivityMonitor "IconType" -int "3" && killall Activity\ Monitor ``` @@ -74,17 +73,18 @@ Show CPU usage history, graphed over time. If your device has 4 threads or less, it'll show one graph per thread, all stacked vertically. If you have more than 4 threads, then only one bar graph will be shown, for the total CPU usage. - ```bash defaults write com.apple.ActivityMonitor "IconType" -int "6" && killall Activity\ Monitor ``` ## Read current value + ```bash defaults read com.apple.ActivityMonitor "IconType" ``` ## Reset to default value + ```bash defaults delete com.apple.ActivityMonitor "IconType" && killall Activity\ Monitor ``` diff --git a/docs/activity-monitor/readme.md b/docs/activity-monitor/readme.md index e540d49..8bdacca 100644 --- a/docs/activity-monitor/readme.md +++ b/docs/activity-monitor/readme.md @@ -1,25 +1,25 @@ --- metaTitle: Activity Monitor | macOS defaults meta: - - property: "og:title" + - property: 'og:title' content: macOS defaults > Activity Monitor - - name: "description" + - name: 'description' content: "Activity Monitor is the built-in utility for monitoring your systems resource usage, such as\nCPU, RAM, Disk, Network, and Energy.\n" - - property: "og:description" + - property: 'og:description' content: "Activity Monitor is the built-in utility for monitoring your systems resource usage, such as\nCPU, RAM, Disk, Network, and Energy.\n" - - property: "twitter:card" - content: "summary" - - property: "twitter:image" - content: "https://macos-defaults.netlify.app/media-1x1.webp" - - property: "og:image" - content: "https://macos-defaults.netlify.app/media-1x1.jpg" + - property: 'twitter:card' + content: 'summary' + - property: 'twitter:image' + content: 'https://macos-defaults.netlify.app/media-1x1.webp' + - property: 'og:image' + content: 'https://macos-defaults.netlify.app/media-1x1.jpg' --- + # Activity Monitor Activity Monitor is the built-in utility for monitoring your systems resource usage, such as CPU, RAM, Disk, Network, and Energy. - ## Keys - [Update Frequency](./updateperiod.html) diff --git a/docs/activity-monitor/updateperiod.md b/docs/activity-monitor/updateperiod.md index 654c0c2..73a8f9c 100644 --- a/docs/activity-monitor/updateperiod.md +++ b/docs/activity-monitor/updateperiod.md @@ -1,19 +1,20 @@ --- metaTitle: Update Frequency | Activity Monitor | macOS defaults meta: - - property: "og:title" + - property: 'og:title' content: macOS defaults > Activity Monitor > Update Frequency - - name: "description" - content: "How frequently Activity Monitor should update its data, in seconds." - - property: "og:description" - content: "How frequently Activity Monitor should update its data, in seconds." - - property: "twitter:card" - content: "summary" - - property: "twitter:image" - content: "https://macos-defaults.netlify.app/media-1x1.webp" - - property: "og:image" - content: "https://macos-defaults.netlify.app/media-1x1.jpg" + - name: 'description' + content: 'How frequently Activity Monitor should update its data, in seconds.' + - property: 'og:description' + content: 'How frequently Activity Monitor should update its data, in seconds.' + - property: 'twitter:card' + content: 'summary' + - property: 'twitter:image' + content: 'https://macos-defaults.netlify.app/media-1x1.webp' + - property: 'og:image' + content: 'https://macos-defaults.netlify.app/media-1x1.jpg' --- + # Update Frequency How frequently Activity Monitor should update its data, in seconds. @@ -21,12 +22,12 @@ How frequently Activity Monitor should update its data, in seconds. - **Tested on macOS**: - * Ventura - * Monterey + - Ventura + - Monterey - **Parameter type**: int - * 1 - * 2 - * 5 + - 1 + - 2 + - 5 ## Set to `1` @@ -53,11 +54,13 @@ defaults write com.apple.ActivityMonitor "UpdatePeriod" -int "5" && killall Acti ``` ## Read current value + ```bash defaults read com.apple.ActivityMonitor "UpdatePeriod" ``` ## Reset to default value + ```bash defaults delete com.apple.ActivityMonitor "UpdatePeriod" && killall Activity\ Monitor ``` diff --git a/docs/desktop/_fxsortfoldersfirstondesktop.md b/docs/desktop/_fxsortfoldersfirstondesktop.md index 12898f3..423cc8c 100644 --- a/docs/desktop/_fxsortfoldersfirstondesktop.md +++ b/docs/desktop/_fxsortfoldersfirstondesktop.md @@ -1,19 +1,20 @@ --- metaTitle: Keep folders on top | Desktop | macOS defaults meta: - - property: "og:title" + - property: 'og:title' content: macOS defaults > Desktop > Keep folders on top - - name: "description" - content: "Keep folders on top when sorting" - - property: "og:description" - content: "Keep folders on top when sorting" - - property: "twitter:card" - content: "summary" - - property: "twitter:image" - content: "https://macos-defaults.netlify.app/media-1x1.webp" - - property: "og:image" - content: "https://macos-defaults.netlify.app/media-1x1.jpg" + - name: 'description' + content: 'Keep folders on top when sorting' + - property: 'og:description' + content: 'Keep folders on top when sorting' + - property: 'twitter:card' + content: 'summary' + - property: 'twitter:image' + content: 'https://macos-defaults.netlify.app/media-1x1.webp' + - property: 'og:image' + content: 'https://macos-defaults.netlify.app/media-1x1.jpg' --- + # Keep folders on top Keep folders on top when sorting @@ -21,9 +22,9 @@ Keep folders on top when sorting - **Tested on macOS**: - * Ventura - * Monterey - * Big Sur + - Ventura + - Monterey + - Big Sur - **Parameter type**: bool ## Set to `true` @@ -43,11 +44,13 @@ defaults write com.apple.finder "_FXSortFoldersFirstOnDesktop" -bool "false" && ``` ## Read current value + ```bash defaults read com.apple.finder "_FXSortFoldersFirstOnDesktop" ``` ## Reset to default value + ```bash defaults delete com.apple.finder "_FXSortFoldersFirstOnDesktop" && killall Finder ``` diff --git a/docs/desktop/createdesktop.md b/docs/desktop/createdesktop.md index 4919a1a..bfeff2c 100644 --- a/docs/desktop/createdesktop.md +++ b/docs/desktop/createdesktop.md @@ -1,19 +1,20 @@ --- metaTitle: All icons | Desktop | macOS defaults meta: - - property: "og:title" + - property: 'og:title' content: macOS defaults > Desktop > All icons - - name: "description" - content: "Hide all icons on desktop" - - property: "og:description" - content: "Hide all icons on desktop" - - property: "twitter:card" - content: "summary" - - property: "twitter:image" - content: "https://macos-defaults.netlify.app/media-1x1.webp" - - property: "og:image" - content: "https://macos-defaults.netlify.app/media-1x1.jpg" + - name: 'description' + content: 'Hide all icons on desktop' + - property: 'og:description' + content: 'Hide all icons on desktop' + - property: 'twitter:card' + content: 'summary' + - property: 'twitter:image' + content: 'https://macos-defaults.netlify.app/media-1x1.webp' + - property: 'og:image' + content: 'https://macos-defaults.netlify.app/media-1x1.jpg' --- + # All icons Hide all icons on desktop @@ -21,9 +22,9 @@ Hide all icons on desktop - **Tested on macOS**: - * Ventura - * Monterey - * Big Sur + - Ventura + - Monterey + - Big Sur - **Parameter type**: bool ## Set to `false` @@ -43,11 +44,13 @@ defaults write com.apple.finder "CreateDesktop" -bool "true" && killall Finder ``` ## Read current value + ```bash defaults read com.apple.finder "CreateDesktop" ``` ## Reset to default value + ```bash defaults delete com.apple.finder "CreateDesktop" && killall Finder ``` diff --git a/docs/desktop/readme.md b/docs/desktop/readme.md index 5161500..2b70601 100644 --- a/docs/desktop/readme.md +++ b/docs/desktop/readme.md @@ -1,25 +1,25 @@ --- metaTitle: Desktop | macOS defaults meta: - - property: "og:title" + - property: 'og:title' content: macOS defaults > Desktop - - name: "description" + - name: 'description' content: "Desktop shows files and icons on a background, works as a part of the Finder.\nThe desktop view can be customized.\n" - - property: "og:description" + - property: 'og:description' content: "Desktop shows files and icons on a background, works as a part of the Finder.\nThe desktop view can be customized.\n" - - property: "twitter:card" - content: "summary" - - property: "twitter:image" - content: "https://macos-defaults.netlify.app/media-1x1.webp" - - property: "og:image" - content: "https://macos-defaults.netlify.app/media-1x1.jpg" + - property: 'twitter:card' + content: 'summary' + - property: 'twitter:image' + content: 'https://macos-defaults.netlify.app/media-1x1.webp' + - property: 'og:image' + content: 'https://macos-defaults.netlify.app/media-1x1.jpg' --- + # Desktop Desktop shows files and icons on a background, works as a part of the Finder. The desktop view can be customized. - ## Keys - [Keep folders on top](./_fxsortfoldersfirstondesktop.html) diff --git a/docs/desktop/showexternalharddrivesondesktop.md b/docs/desktop/showexternalharddrivesondesktop.md index 6da9289..fa38c92 100644 --- a/docs/desktop/showexternalharddrivesondesktop.md +++ b/docs/desktop/showexternalharddrivesondesktop.md @@ -1,19 +1,20 @@ --- metaTitle: External disks | Desktop | macOS defaults meta: - - property: "og:title" + - property: 'og:title' content: macOS defaults > Desktop > External disks - - name: "description" - content: "Hide external disks on desktop" - - property: "og:description" - content: "Hide external disks on desktop" - - property: "twitter:card" - content: "summary" - - property: "twitter:image" - content: "https://macos-defaults.netlify.app/media-1x1.webp" - - property: "og:image" - content: "https://macos-defaults.netlify.app/media-1x1.jpg" + - name: 'description' + content: 'Hide external disks on desktop' + - property: 'og:description' + content: 'Hide external disks on desktop' + - property: 'twitter:card' + content: 'summary' + - property: 'twitter:image' + content: 'https://macos-defaults.netlify.app/media-1x1.webp' + - property: 'og:image' + content: 'https://macos-defaults.netlify.app/media-1x1.jpg' --- + # External disks Hide external disks on desktop @@ -21,8 +22,8 @@ Hide external disks on desktop - **Tested on macOS**: - * Monterey - * Big Sur + - Monterey + - Big Sur - **Parameter type**: bool ## Set to `false` @@ -42,11 +43,13 @@ defaults write com.apple.finder "ShowExternalHardDrivesOnDesktop" -bool "true" & ``` ## Read current value + ```bash defaults read com.apple.finder "ShowExternalHardDrivesOnDesktop" ``` ## Reset to default value + ```bash defaults delete com.apple.finder "ShowExternalHardDrivesOnDesktop" && killall Finder ``` diff --git a/docs/desktop/showharddrivesondesktop.md b/docs/desktop/showharddrivesondesktop.md index 40aa90b..892582a 100644 --- a/docs/desktop/showharddrivesondesktop.md +++ b/docs/desktop/showharddrivesondesktop.md @@ -1,19 +1,20 @@ --- metaTitle: Disks | Desktop | macOS defaults meta: - - property: "og:title" + - property: 'og:title' content: macOS defaults > Desktop > Disks - - name: "description" - content: "Show hard disks on desktop" - - property: "og:description" - content: "Show hard disks on desktop" - - property: "twitter:card" - content: "summary" - - property: "twitter:image" - content: "https://macos-defaults.netlify.app/media-1x1.webp" - - property: "og:image" - content: "https://macos-defaults.netlify.app/media-1x1.jpg" + - name: 'description' + content: 'Show hard disks on desktop' + - property: 'og:description' + content: 'Show hard disks on desktop' + - property: 'twitter:card' + content: 'summary' + - property: 'twitter:image' + content: 'https://macos-defaults.netlify.app/media-1x1.webp' + - property: 'og:image' + content: 'https://macos-defaults.netlify.app/media-1x1.jpg' --- + # Disks Show hard disks on desktop @@ -21,8 +22,8 @@ Show hard disks on desktop - **Tested on macOS**: - * Monterey - * Big Sur + - Monterey + - Big Sur - **Parameter type**: bool ## Set to `true` @@ -42,11 +43,13 @@ defaults write com.apple.finder "ShowHardDrivesOnDesktop" -bool "false" && killa ``` ## Read current value + ```bash defaults read com.apple.finder "ShowHardDrivesOnDesktop" ``` ## Reset to default value + ```bash defaults delete com.apple.finder "ShowHardDrivesOnDesktop" && killall Finder ``` diff --git a/docs/desktop/showmountedserversondesktop.md b/docs/desktop/showmountedserversondesktop.md index dd27875..91eb604 100644 --- a/docs/desktop/showmountedserversondesktop.md +++ b/docs/desktop/showmountedserversondesktop.md @@ -1,19 +1,20 @@ --- metaTitle: Connected servers | Desktop | macOS defaults meta: - - property: "og:title" + - property: 'og:title' content: macOS defaults > Desktop > Connected servers - - name: "description" - content: "Show connected servers on desktop" - - property: "og:description" - content: "Show connected servers on desktop" - - property: "twitter:card" - content: "summary" - - property: "twitter:image" - content: "https://macos-defaults.netlify.app/media-1x1.webp" - - property: "og:image" - content: "https://macos-defaults.netlify.app/media-1x1.jpg" + - name: 'description' + content: 'Show connected servers on desktop' + - property: 'og:description' + content: 'Show connected servers on desktop' + - property: 'twitter:card' + content: 'summary' + - property: 'twitter:image' + content: 'https://macos-defaults.netlify.app/media-1x1.webp' + - property: 'og:image' + content: 'https://macos-defaults.netlify.app/media-1x1.jpg' --- + # Connected servers Show connected servers on desktop @@ -21,8 +22,8 @@ Show connected servers on desktop - **Tested on macOS**: - * Monterey - * Big Sur + - Monterey + - Big Sur - **Parameter type**: bool ## Set to `true` @@ -42,11 +43,13 @@ defaults write com.apple.finder "ShowMountedServersOnDesktop" -bool "false" && k ``` ## Read current value + ```bash defaults read com.apple.finder "ShowMountedServersOnDesktop" ``` ## Reset to default value + ```bash defaults delete com.apple.finder "ShowMountedServersOnDesktop" && killall Finder ``` diff --git a/docs/desktop/showremovablemediaondesktop.md b/docs/desktop/showremovablemediaondesktop.md index 742b6b7..8d1b25a 100644 --- a/docs/desktop/showremovablemediaondesktop.md +++ b/docs/desktop/showremovablemediaondesktop.md @@ -1,19 +1,20 @@ --- metaTitle: Removable media | Desktop | macOS defaults meta: - - property: "og:title" + - property: 'og:title' content: macOS defaults > Desktop > Removable media - - name: "description" - content: "Hide removable media _(CDs, DVDs and iPods)_ on desktop" - - property: "og:description" - content: "Hide removable media _(CDs, DVDs and iPods)_ on desktop" - - property: "twitter:card" - content: "summary" - - property: "twitter:image" - content: "https://macos-defaults.netlify.app/media-1x1.webp" - - property: "og:image" - content: "https://macos-defaults.netlify.app/media-1x1.jpg" + - name: 'description' + content: 'Hide removable media _(CDs, DVDs and iPods)_ on desktop' + - property: 'og:description' + content: 'Hide removable media _(CDs, DVDs and iPods)_ on desktop' + - property: 'twitter:card' + content: 'summary' + - property: 'twitter:image' + content: 'https://macos-defaults.netlify.app/media-1x1.webp' + - property: 'og:image' + content: 'https://macos-defaults.netlify.app/media-1x1.jpg' --- + # Removable media Hide removable media _(CDs, DVDs and iPods)_ on desktop @@ -21,8 +22,8 @@ Hide removable media _(CDs, DVDs and iPods)_ on desktop - **Tested on macOS**: - * Monterey - * Big Sur + - Monterey + - Big Sur - **Parameter type**: bool ## Set to `false` @@ -42,11 +43,13 @@ defaults write com.apple.finder "ShowRemovableMediaOnDesktop" -bool "true" && ki ``` ## Read current value + ```bash defaults read com.apple.finder "ShowRemovableMediaOnDesktop" ``` ## Reset to default value + ```bash defaults delete com.apple.finder "ShowRemovableMediaOnDesktop" && killall Finder ``` diff --git a/docs/dock/autohide-delay.md b/docs/dock/autohide-delay.md index 86fe447..b2b1906 100644 --- a/docs/dock/autohide-delay.md +++ b/docs/dock/autohide-delay.md @@ -1,19 +1,20 @@ --- metaTitle: Autohide delay | Dock | macOS defaults meta: - - property: "og:title" + - property: 'og:title' content: macOS defaults > Dock > Autohide delay - - name: "description" - content: "Change the Dock opening delay." - - property: "og:description" - content: "Change the Dock opening delay." - - property: "twitter:card" - content: "summary" - - property: "twitter:image" - content: "https://macos-defaults.netlify.app/media-1x1.webp" - - property: "og:image" - content: "https://macos-defaults.netlify.app/media-1x1.jpg" + - name: 'description' + content: 'Change the Dock opening delay.' + - property: 'og:description' + content: 'Change the Dock opening delay.' + - property: 'twitter:card' + content: 'summary' + - property: 'twitter:image' + content: 'https://macos-defaults.netlify.app/media-1x1.webp' + - property: 'og:image' + content: 'https://macos-defaults.netlify.app/media-1x1.jpg' --- + # Autohide delay Change the Dock opening delay. @@ -21,14 +22,15 @@ Change the Dock opening delay. - **Tested on macOS**: - * Ventura - * Monterey - * Big Sur - * Catalina - * Mojave + - Ventura + - Monterey + - Big Sur + - Catalina + - Mojave - **Parameter type**: float ## Requirements + - [`com.apple.dock autohide`](../../dock/autohide.html#set-to-true) must be set to `true` ## Set to `0.2` (default value) @@ -38,6 +40,7 @@ By default, the Dock only opens if the mouse doesn't move for 0.2 seconds ```bash defaults write com.apple.dock "autohide-delay" -float "0.2" && killall Dock ``` +