Skip to content

hiway/browserchoice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

browserchoice

Installation

  • Download source: git clone https://github.com/hiway/browserchoice.git
  • Install development version: pip install --editable .

Configuration

Config file: ~/.browserchoice

browsers:
- browser: 
  name: Google Chrome
  urls: 
    - gmail.com
    - google.com
- browser:
  name: Firefox
  urls: 
    - github.com 
    - twitter.com
- browser:
  name: Safari
  urls: 
    - facebook.com
    - instagram.com

Usage:

  • Test from command line: browserchoice http://github.com
  • Execute which browserchoice | pbcopy to copy PATH_TO_BINARY into clipboard
  • Install LinCastor app
    • Get LinCastor here
    • Click add new scheme
      • title: browserchoice
      • schemes: http,https
      • shell:
        • #!/bin/sh
        • PATH_TO_BINARY $URL
        • exit 0 Setup instructions for LinCastor
  • Install RCDefaultApp
    • Get RCDefaultApp here
    • Open System Preferences, select Default Apps
    • Select LinCastor app as the default Web Browser Application Setup instructions for RCDdefaultApp
  • Test if applied system-wide: open http://github.com

About

MacOSX: Selectively open URLs in specific browsers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages