After you run the script, the first thing you copy will be set to your clipboard as usual and the second thing you copy will be saved but overwritten by the first one. Clipboards will be switched when you press your right alt key or the one set in 'settings.json'. To clear your clipboard just press it again if it is set to clear your cliboard or close and run again the script.
- Navigate to the desired folder:
cd <path> - Clone the repo:
git clone https://github.com/appuchias/double_clipboard.git - Navigate into the repo folder:
cd double_clipboard - Modify settings.json:
"key" is the desired key for switching between clipboards. See special key names here.
"clear" determines if you want your clipboards to be erased after you use both of them.
By default, the switch key is the right alt and clear is set to true. - Run the file:
python main.py
This project is licensed under the MIT license.
Coded with 🖤 by Appu