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 = { desktopEntries = {
doom-server = { doom-server = {
name = "Doom Emacs (Server)"; name = "Doom Emacs";
genericName = "Text Editor"; genericName = "Text Editor";
icon = ./static/doom-config/icon.png; icon = ./static/doom-config/icon.png;
exec = "${wrapped-emacs}/bin/emacs %F"; exec = "${wrapped-emacs}/bin/emacs %F";
terminal = false; terminal = false;
categories = ["Application" "Development"]; categories = ["Application" "Development" "TextEditor"];
mimeType = ["text/*"]; mimeType = ["text/*"];
settings = { settings = {
StartupWMClass = "Doom Emacs"; StartupWMClass = "Doom Emacs";
}; };
}; };
doom-client = { doom-client = {
name = "Doom Emacs"; name = "Doom Emacs (Client)";
genericName = "Text Editor"; genericName = "Text Editor";
icon = ./static/doom-config/icon.png; icon = ./static/doom-config/icon.png;
exec = '' 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; terminal = false;
categories = ["Application" "Development"]; categories = ["Application" "Development" "TextEditor"];
mimeType = ["text/*"]; mimeType = ["text/*"];
settings = { settings = {
StartupWMClass = "Doom Emacs"; StartupWMClass = "Doom Emacs";