Skip to content

Instantly share code, notes, and snippets.

@hluk
Last active August 23, 2024 12:03
Show Gist options
  • Save hluk/aa7d006a757f5f0b24fb51d1a68577cc to your computer and use it in GitHub Desktop.
Save hluk/aa7d006a757f5f0b24fb51d1a68577cc to your computer and use it in GitHub Desktop.
CopyQ Command: Add blank line when copied
[Command]
Automatic=true
Command="
copyq:
var text = str(data(mimeText))
if (!text)
abort()
text += '\\n\\n'
setData(mimeText, text)
var html = str(data(mimeHtml))
if (html)
copy(mimeText, text, mimeHtml, html)
else
copy(mimeText, text)"
Icon=\xf46d
Name=Add Blank Line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment