Should you tip $1 or 20% per drink?

Should you tip $1 or 20% per drink?

When you're ordering drinks at a bar, do you tip $1/drink or 20% on your total?

Does it make a difference if you're paying by cash or card? Does it make a difference if you're paying as you go, or your tab at the end of the night?