Skip to content

Instantly share code, notes, and snippets.

@janx
Last active December 28, 2015 13:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save janx/8b5a92220ec5ff524582 to your computer and use it in GitHub Desktop.
Save janx/8b5a92220ec5ff524582 to your computer and use it in GitHub Desktop.
#!/bin/sh
path=`find /your_gollum_project -name '*.md' | sed 's/\/your_gollum_project\///' | sed 's/.md\$//' | dmenu -i -fn Tamzen-12 -p "Edit gollum wiki:" -l 25`
url="http://localhost:4567/edit/$path"
[ -z $path ] || /usr/bin/chromium --app="$url"
#!/bin/sh
path=`find /your_gollum_project -name '*.md' | sed 's/\/your_gollum_project\///' | sed 's/.md\$//' | dmenu -i -fn Tamzen-12 -p "Open gollum wiki:" -l 25`
url="http://localhost:4567/$path"
[ -z $path ] || /usr/bin/chromium --app="$url"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment