Code Monkey home page Code Monkey logo

alfred_surgeconf_switcher's Introduction

#Surge Conf Switcher —— 又一个 Alfred 插件

##功能

  • 可以方便地切换不同的 Surge for Mac 配置文件
  • 通过 ln -s 把已有的 .conf 文件符号链接到 ~/.surge.conf,因此每次修改.conf文件后不再需要把它手动复制、重命名到~/
  • 直接支持硬盘、DropBox、iCloud Drive里的 .conf 文件,同步无忧
  • 切换后会自动重新加载配置文件(Surge版本至少为1.1.2),不需要手动载入

##使用方法

  1. 下载安装本workflow,需要 Alfred PowerPack
  2. 输入 sg 文件名, alfred会执行文件搜索,选中你需要的.conf文件,回车即可。.conf的文件名最好不要以.开头,否则属于隐藏文件,很难被Alfred搜到
  3. 本插件会自动建立符号链接、重新reload 关闭Surge、重新开启Surge

##进阶

  • sg(即Surge缩写)这个触发关键字可以修改,请自行在Alfred里修改
  • 文件较多时,可以自行修改workflow的File TypesSearch Scope。请参考Alfred官方帮助
  • 按住cmd再按回车,可以打开Finder,方便修改文件
  • 推荐配合另一个Alfred插件proxyswitcher一起使用

##下载 点击下载

#Credit Made by goodbest

alfred_surgeconf_switcher's People

Contributors

goodbest avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.