Generation 97 2024-04-21 15:46:46 (current)

This commit is contained in:
Jonas Röger 2024-04-21 15:46:47 +02:00
parent ab0f8a393f
commit ecddc2b133

View File

@ -93,26 +93,26 @@ in {
};
desktopEntries = {
doom-server = {
name = "Doom Emacs (Server)";
name = "Doom Emacs";
genericName = "Text Editor";
icon = ./static/doom-config/icon.png;
exec = "${wrapped-emacs}/bin/emacs %F";
terminal = false;
categories = ["Application" "Development"];
categories = ["Application" "Development" "TextEditor"];
mimeType = ["text/*"];
settings = {
StartupWMClass = "Doom Emacs";
};
};
doom-client = {
name = "Doom Emacs";
name = "Doom Emacs (Client)";
genericName = "Text Editor";
icon = ./static/doom-config/icon.png;
exec = ''
sh -c "if [ -n \\"\\$*\\" ]; then exec ${wrapped-emacs}/bin/emacs-client --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F
sh -c "if [ -n \\"\\$*\\" ]; then exec ${wrapped-emacs}/bin/emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F
'';
terminal = false;
categories = ["Application" "Development"];
categories = ["Application" "Development" "TextEditor"];
mimeType = ["text/*"];
settings = {
StartupWMClass = "Doom Emacs";