From f2e7bbc06d71d72b8299b971b210ec8e2b9a17f2 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 7 Mar 2026 14:31:27 -0600 Subject: feat: comprehensive mime type associations with emacsclient defaults Merge all mime associations into mimeapps.list as single source of truth. Set emacsclient as default for all text/code files. Add TypeScript mime override, emacsclient.desktop with fixed Exec line, and simplify resetmimetypes to just restow + rebuild caches. --- .../hyprland/.local/share/applications/emacsclient.desktop | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 dotfiles/hyprland/.local/share/applications/emacsclient.desktop (limited to 'dotfiles/hyprland/.local/share') diff --git a/dotfiles/hyprland/.local/share/applications/emacsclient.desktop b/dotfiles/hyprland/.local/share/applications/emacsclient.desktop new file mode 100644 index 0000000..c1771b9 --- /dev/null +++ b/dotfiles/hyprland/.local/share/applications/emacsclient.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Name=Emacs (Client) +GenericName=Text Editor +Comment=Edit text +MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; +Exec=/usr/bin/emacsclient --alternate-editor= --create-frame %F +Icon=emacs +Type=Application +Terminal=false +Categories=Development;TextEditor; +StartupNotify=true +StartupWMClass=Emacs +Keywords=emacsclient; -- cgit v1.2.3