Run scripts instead of applications #1

Closed
twe4ked opened this Issue Jul 20, 2014 · 2 comments

Projects

None yet

2 participants

@twe4ked
Owner
twe4ked commented Jul 20, 2014

The config file would need modifying, something like this perhaps:

{
  "iTerm": {
    "path": "/Applications/iTerm.app",
    "shortcut": "i",
    "type": "application"
  },
  "Some Script": {
    "path": "~/bin/some-script",
    "shortcut": "s",
    "type": "script"
  }
}
Collaborator

Could you instead detect if the supplied path is a file with the executable bit set?

Owner
twe4ked commented Jul 20, 2014

That's probably a better way to do it, thanks.

@twe4ked twe4ked closed this in 98dcc09 Jul 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment