{"repo":"zeitlings/alfred-set-default-browser","free":true,"listed":false,"github":"https://github.com/zeitlings/alfred-set-default-browser","clone":"git clone https://github.com/zeitlings/alfred-set-default-browser.git","description":"Alfred workflow to set the default browser","language":"Swift","stars":35,"topics":["alfred","alfred-workflow","browser-automation","command-line","macos"],"license":"MIT","category":"cli-tools","readme_excerpt":"Default Browser An Alfred workflow to set the default web browser. Usage Note - Set the default web browser using the keyword (default: sdb ). - The macOS browser change confirmation dialog is automatically accepted. - ⏎ Set as default browser - ⌘ ⇧ ⏎ Blacklist the application - ⌃ View the file path of the application Utility : Use the workflow's File Action (name: Bundle Identifier Information ) to retrieve an application's bundle identifier (Legacy). --- Compiled Version (command line) See Details The executable can be used to change the default browser from the command line: ./set default browser tor Recompile In your terminal: This will generate the following structure for you: Replace the contents of set default browser.swift with the contents of the included main.swift. Replace the contents of Package.swift with the contents of the included Package.swift In your terminal, run: The executable is located in .build/release/ (hidden folder) and is called set default browser . release is a symbolic link and, in my case, the path reads: /.build/arm64-apple-macosx/release/set default browser . Depending on your system, this might differ. Copy the executable and replace the version that comes with the workflow. Some Popular Browsers Credit - J. W. Bargsten","default_branch":null,"files":null,"tree":[],"storefront":"/r/zeitlings","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zeitlings/alfred-set-default-browser/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}