Generation 94 2024-04-21 15:27:21 (current)
This commit is contained in:
parent
4783c6aa3c
commit
a02d988509
@ -91,11 +91,22 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
desktopEntries = {
|
desktopEntries = {
|
||||||
doom = {
|
doom-server = {
|
||||||
|
name = "Doom Emacs (Server)";
|
||||||
|
genericName = "Text Editor";
|
||||||
|
icon = ./static/doom-config/icon.png;
|
||||||
|
exec = "${wrapped-emacs}/bin/emacs %F";
|
||||||
|
terminal = false;
|
||||||
|
categories = ["Application" "Development"];
|
||||||
|
mimeType = ["text/*"];
|
||||||
|
};
|
||||||
|
doom-client = {
|
||||||
name = "Doom Emacs";
|
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 %U";
|
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
|
||||||
|
'';
|
||||||
terminal = false;
|
terminal = false;
|
||||||
categories = ["Application" "Development"];
|
categories = ["Application" "Development"];
|
||||||
mimeType = ["text/*"];
|
mimeType = ["text/*"];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user