diff options
author | Timo Wilken | 2023-03-04 19:15:21 +0100 |
---|---|---|
committer | Timo Wilken | 2023-03-04 19:15:21 +0100 |
commit | 5503426a6b8343c04e348ce0669af17c93291dc1 (patch) | |
tree | 5ee578fbd09447795e18b4c02e25163974286060 /tw/home/files | |
parent | 2e7145ca7550b35026fa5de0683cdbf588f45012 (diff) |
Declare XDG file type associations
Diffstat (limited to 'tw/home/files')
-rw-r--r-- | tw/home/files/emacsclient.desktop | 22 | ||||
-rw-r--r-- | tw/home/files/mimeapps.list | 47 |
2 files changed, 69 insertions, 0 deletions
diff --git a/tw/home/files/emacsclient.desktop b/tw/home/files/emacsclient.desktop new file mode 100644 index 00000000..5e68ffef --- /dev/null +++ b/tw/home/files/emacsclient.desktop @@ -0,0 +1,22 @@ +[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=emacsclient --alternate-editor= --create-frame %F +Icon=emacs +Type=Application +Terminal=false +Categories=Development;TextEditor; +StartupNotify=true +StartupWMClass=Emacs +Keywords=emacsclient; +Actions=new-window;new-instance; + +[Desktop Action new-window] +Name=New Window +Exec=emacsclient --alternate-editor= --create-frame %F + +[Desktop Action new-instance] +Name=New Instance +Exec=emacs %F diff --git a/tw/home/files/mimeapps.list b/tw/home/files/mimeapps.list new file mode 100644 index 00000000..28be5b72 --- /dev/null +++ b/tw/home/files/mimeapps.list @@ -0,0 +1,47 @@ +[Default Applications] +x-scheme-handler/http=icecat.desktop +x-scheme-handler/https=icecat.desktop +x-scheme-handler/chrome=icecat.desktop +text/html=icecat.desktop +application/x-extension-htm=icecat.desktop +application/x-extension-html=icecat.desktop +application/x-extension-shtml=icecat.desktop +application/xhtml+xml=icecat.desktop +application/x-extension-xhtml=icecat.desktop +application/x-extension-xht=icecat.desktop +application/octet-stream=emacsclient.desktop +text/plain=emacsclient.desktop +text/english=emacsclient.desktop +text/x-makefile=emacsclient.desktop +text/x-c++hdr=emacsclient.desktop +text/x-c++src=emacsclient.desktop +text/x-chdr=emacsclient.desktop +text/x-java=emacsclient.desktop +text/x-moc=emacsclient.desktop +text/x-pascal=emacsclient.desktop +text/x-tcl=emacsclient.desktop +text/x-tex=emacsclient.desktop +text/x-c=emacsclient.desktop +text/x-c++=emacsclient.desktop +application/x-shellscript=emacsclient.desktop +image/bmp=imv.desktop +image/gif=imv.desktop +image/jpeg=imv.desktop +image/jpg=imv.desktop +image/pjpeg=imv.desktop +image/png=imv.desktop +image/tiff=imv.desktop +image/x-bmp=imv.desktop +image/x-pcx=imv.desktop +image/x-png=imv.desktop +image/x-portable-anymap=imv.desktop +image/x-portable-bitmap=imv.desktop +image/x-portable-graymap=imv.desktop +image/x-portable-pixmap=imv.desktop +image/x-tga=imv.desktop +image/x-xbitmap=imv.desktop +image/heif=imv.desktop +x-scheme-handler/about=icecat.desktop +x-scheme-handler/unknown=icecat.desktop + +[Added Associations] |