diff --git a/home/jonas/doom.nix b/home/jonas/doom.nix index 10dc631..30bf9ce 100644 --- a/home/jonas/doom.nix +++ b/home/jonas/doom.nix @@ -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";