Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add alternatives to static-only for clearing the Dock #405

Open
4 of 5 tasks
TrevorBurnham opened this issue Dec 7, 2024 · 0 comments
Open
4 of 5 tasks

Add alternatives to static-only for clearing the Dock #405

TrevorBurnham opened this issue Dec 7, 2024 · 0 comments
Labels
new command Add a new command

Comments

@TrevorBurnham
Copy link
Contributor

  • 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
  • I know this command works on macOS current version
  • I know this command is deprecated on macOS current version
  • Folder: Dock
  • Command: defaults write com.apple.dock persistent-apps -array and defaults write com.apple.dock persistent-others -array
  • Argument type (if applicable): Array, but adding values is tricky. The commands above simply clear all existing items.
  • Examples:
    • defaults write com.apple.dock persistent-apps -array opts all apps out of "Keep in Dock"
    • defaults write com.apple.dock persistent-others -array removes all folders and other items from the dock

Related to #62. cc @Darkomen78

Why?

Currently the site includes the static-only flag, which is described as Active applications only. I'd like to either removing static-only in favor of the commands above, or putting all of these commands on the same page.

Enabling static-only produces some counterintuitive behavior: You're still allowed to add items to the dock, but when you reboot, those items will disappear. Maybe some people want this, because it makes the Dock into a sort of temporary workspace, but I think most people would like to retain the ability to pin items to the Dock.

That's what the commands at the top of this ticket do: They clear items from the dock as a one-time operation, without changing the fundamental behavior of the Dock. That strikes me as likely to be useful to more people than static-only.

@TrevorBurnham TrevorBurnham added the new command Add a new command label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new command Add a new command
Projects
None yet
Development

No branches or pull requests

1 participant