You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, I can use xcolor | xclip -selection clipboard to copy the color to the clipboard. Whenever I do this, it's copied with the trailing newline. So when I paste it into code, it's slightly annoying because I have to manually remove the newline. For example, if I was going to paste a selected color into a Markdown comment (#347d39) I wouldn't want the trailing newline.
The text was updated successfully, but these errors were encountered:
Oh, gosh, I've been using this tool for a long time without knowing that xcolor takes the -s clipboard option, so I never needed to pipe to xclip 🤦 😅 Just found out now from digging into the code.
Still, this could be handy just for compatibility with other use-cases that might involve piping.
For example, I can use
xcolor | xclip -selection clipboard
to copy the color to the clipboard. Whenever I do this, it's copied with the trailing newline. So when I paste it into code, it's slightly annoying because I have to manually remove the newline. For example, if I was going to paste a selected color into a Markdown comment (#347d39
) I wouldn't want the trailing newline.The text was updated successfully, but these errors were encountered: