3 ms·
The XDG scripts are strange. Some are really simple while some aren't. A while back I wanted "dropbox shortcuts" to work on Linux. So I copied the xdg-open exam
by elcritch 6y ago
The XDG scripts are strange. Some are really simple while some aren't. A while back I wanted "dropbox shortcuts" to work on Linux. So I copied the xdg-open examples and wrote a Nim utility to parse and then open the file [1]. Then it was easy to set KDE File browser to use the program it for dropbox shortcuts. It's nice having a simple language that can compile to a little static binary or be run as a shell script.
1: https://github.com/elcritch/open_on_dropbox https://github.com/elcritch/open_on_dropbox