Skip to content

Instantly share code, notes, and snippets.

@nejni-marji
Created March 7, 2019 23:04
Show Gist options
  • Save nejni-marji/96f914b6b0cdcea41d8b4b36144a0f73 to your computer and use it in GitHub Desktop.
Save nejni-marji/96f914b6b0cdcea41d8b4b36144a0f73 to your computer and use it in GitHub Desktop.
keynav magic
#!/bin/bash
if pgrep -xf 'keynav daemonize' >/dev/null; then
pkill -xf 'keynav daemonize'
keynav "$@"
keynav daemonize
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment