I'm wondering if it's possible to create an interactive .desktop file. An icon to a directory you can put on the desktop that changes when something is stored in the directory. What I want is create something like the trash can.
Is this possible with just a .desktop file or not?
I've been searching how the trash can works but did not find a .desktop file for it, found the trash directory and the trash icon, but that's mainly it.
Can somebody share a hint?