Skip to content

Instantly share code, notes, and snippets.

@relict007
Created September 16, 2013 12:59
Show Gist options
  • Save relict007/6580381 to your computer and use it in GitHub Desktop.
Save relict007/6580381 to your computer and use it in GitHub Desktop.
urxvt client server script. Use this script as your terminal program, it launches urxvtc(client) and connects to the server (starting it if not running)
#!/bin/sh
urxvtc "$@"
if [ $? -eq 2 ]; then
urxvtd -q -o -f
urxvtc "$@"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment