A lightweight utility that monitors the clipboard for Ctrl+C (copy) events and displays a popup notification when text is copied. Built with C# and Windows Forms
Why I made this?
I made this because sometimes I hit Ctrl+C and I swear I think it worked, but it didn't for some reason. Now I know for sure when it works!
One thing though ...
Trust the app. Seriously. Just trust it.
(Disobedience will be noted 👀)
The app is pretty simple right now, but it does what it's supposed to. Here's what's in it:
-
CtrlCListener.cs:
- Listens for clipboard updates and checks if any copy command is given.
- Displays a popup notification when new text is copied.
-
PopupForm.cs:
- Creates a cool little popup with rounded corners and smooth animations.
- Slides in from the bottom of the screen, fades in, and fades out after a second.
-
SystemAccentColor.cs:
- Grabs the system's accent color to make the popup look nice and match your theme.
-
Program.cs:
- The entry point of the app. Just starts everything up.
If you want the app to start automatically when you turn on your computer, you can add it to the Windows Startup programs using the registry. Here's how:
-
Download the
bin\Debug\net8.0-windowsbuild files first:- Transfer the files in a folder to your preferred directory.
-
Open the Registry Editor:
- Press
Win + R, typeregedit, and hit Enter.
- Press
-
Go to this key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run -
Add a new string value:
- Right-click on the right pane, select
New > String Value. - Name it something like
YouCopiedThat. - Set the value to the full path of the app's executable (e.g.,
C:\Path\To\CtrlCPopup.exe).
- Right-click on the right pane, select
I’ve got some ideas for making this app even better. Here’s what I’m thinking:
-
Error Handling:
- Add some error handling so the app doesn’t crash if something goes wrong with the clipboard.
-
Multi-Monitor Support:
- Make the popup appear on the monitor where you’re actually working.
-
Customization Options:
- Add a settings screen so you can tweak the popup’s appearance, position, and how long it stays visible.
-
Custom Shortcuts:
- Let you change the shortcut from Ctrl+C to something else, like Ctrl+Shift+C.
-
Sound Notifications:
- Add an option to play a sound when you copy something.
-
Ignore Specific Apps:
- Let you exclude certain apps from triggering the popup (like if you don’t want it popping up while you’re gaming or something).
-
System Tray Integration:
- Add an icon to the system tray so you can quickly open settings or turn the app on/off.
-
Modern Settings Screen:
- Make a settings screen that looks clean and modern, kinda like PowerToys.
-
More Animations:
- Add more animation options for the popup, like sliding in from different directions or fading in differently.
-
Dark/Light Mode:
- Add support for dark and light themes based on your system settings.
If you want to help out with this project, feel free to fork the repo and submit a pull request. Here are some areas where you could contribute:
- Adding new features.
- Improving the UI/UX.
- Adding error handling and making the app more robust.
- Writing tests.
Let me know if you have any other ideas or if you want to tweak anything!