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

Is there a better (native) way to enable AppExposé #967

Open
jeeftor opened this issue Jun 9, 2024 · 1 comment
Open

Is there a better (native) way to enable AppExposé #967

jeeftor opened this issue Jun 9, 2024 · 1 comment

Comments

@jeeftor
Copy link

jeeftor commented Jun 9, 2024

    activationScripts.postUserActivation.text = ''
      # activateSettings -u will reload the settings from the database and apply them to the current session,
      # so we do not need to logout and login again to make the changes take effect.
      /System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u

      # Enable App Exposé
      defaults write com.apple.dock showAppExposeGestureEnabled -bool true
      killall Dock
    '';

I'm just using activation scripts - but wondering if there is a native way. Couldn't find anything in the docs but I could be stupid today :)

@Samasaur1
Copy link
Contributor

The defaults command can definitely be done natively, but I don't think we have any existing options to run activateSettings -u or killall Dock. In my personal opinion, it's nicer to keep related things together, so I think what you're doing now is probably your best bet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants