A simple bash tool to copy a line from a file to the clipboard
qwerty [-e] <file>
- Select the line you want to copy or search for it in rofi/wofi.
- Done. Just paste it.
-e --edit
after selecting the line in rofi/wofi, open it in an editor, edit it and save that to the clipboard instead
(you will need to download them yourself if they arent already installed)
- Download the
qwerty
script. - Run
chmod +x qwerty
- Place the qwerty script into the PATH such as ~/.local/bin or /usr/local/bin
- If you want to run it when you right-click on a file there is also a provided .desktop file and image for it. Just put the .desktop file wherever you put them, typically ~/.local/share/applications
- Then put the folder with the image in your data folder, typically ~/.local/share
If you are unsure where this is run
echo $XDG_DATA_HOME