xclip
xclip copied to clipboard
Adding -s for -selection and setting changing the default selection
Hey! I love xclip and I use it everyday.
I am just getting tired of typing -selection clipboard each time cause thats my main usecase.
I would like to contribute to the project by adding
-s as a shortbut for -selection
and also I would like to add a way to change the default option for selection from primary to clipboard (or any other option if someone wants it.)
Can I go ahead and try to add the implimenation to the source code?
thanks.
TLDR: add for example:
xclip -s clipboard -i < file.txt
xclip -selection-default clipboard
Thus allowing:
xclip -i < file.txt
(automatically going to the default option)
Then I guess also adding these options to the -help and man entries. I would like to try and impliment them myself. It would be my first open source contribution :)