Generation 94 2024-04-21 15:27:21 (current)
This commit is contained in:
parent
4783c6aa3c
commit
a02d988509
@ -91,11 +91,22 @@ in {
|
||||
};
|
||||
};
|
||||
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";
|
||||
genericName = "Text Editor";
|
||||
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;
|
||||
categories = ["Application" "Development"];
|
||||
mimeType = ["text/*"];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user