install.sh now works like a usual source install: PREFIX and DESTDIR, /usr/local by default with sudo for the copy only, --user, --uninstall and --purge. It builds in a temporary folder that is removed however the script ends, so target/ is left alone. Installs PNG icons up to 512, AppStream data, the licence and the README, and removes an older copy in ~/.local that would hide the new one on PATH. Quitting or switching presence off now clears the activity and closes the connection, with a short limit so Discord can't delay quitting. Co-Authored-By: Claude Opus 5.5 <[email protected]>
30 lines
724 B
Desktop File
30 lines
724 B
Desktop File
[Desktop Entry]
|
|
Type=Application
|
|
Name=Damson
|
|
GenericName=Text Editor
|
|
Comment=A Material You code editor
|
|
Exec=damson %F
|
|
TryExec=damson
|
|
Icon=damson
|
|
Terminal=false
|
|
Categories=Development;TextEditor;
|
|
Keywords=code;editor;programming;kate;text;
|
|
MimeType=text/plain;text/x-csrc;text/x-c++src;text/x-python;text/rust;text/x-shellscript;text/markdown;application/json;application/xml;
|
|
StartupWMClass=damson
|
|
Actions=new-window;new-file;open-folder;terminal;
|
|
|
|
[Desktop Action new-window]
|
|
Name=New Window
|
|
Exec=damson --new-window
|
|
|
|
[Desktop Action new-file]
|
|
Name=New File
|
|
Exec=damson --new-file
|
|
|
|
[Desktop Action open-folder]
|
|
Name=Open Folder
|
|
Exec=damson --open-folder
|
|
|
|
[Desktop Action terminal]
|
|
Name=New Terminal
|
|
Exec=damson --terminal
|