From e4717734b2d5644237795c483d227cc18ee25aae Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 29 Jan 2026 14:09:02 -0600 Subject: feat(dotfiles): add mimeapps.list with default associations Move mimeapps.list to ~/.config/ location (takes precedence) and set default applications: - Browser: google-chrome - Documents: zathura (pdf, epub, mobi, cbz, cbr) - Images: feh - Video/Audio: mpv Co-Authored-By: Claude Opus 4.5 --- dotfiles/common/.config/mimeapps.list | 45 ++++++++++++++++++++++ .../common/.local/share/applications/mimeapps.list | 0 2 files changed, 45 insertions(+) create mode 100644 dotfiles/common/.config/mimeapps.list delete mode 100644 dotfiles/common/.local/share/applications/mimeapps.list (limited to 'dotfiles') diff --git a/dotfiles/common/.config/mimeapps.list b/dotfiles/common/.config/mimeapps.list new file mode 100644 index 0000000..074397c --- /dev/null +++ b/dotfiles/common/.config/mimeapps.list @@ -0,0 +1,45 @@ + +[Default Applications] +text/html=google-chrome.desktop +x-scheme-handler/http=google-chrome.desktop +x-scheme-handler/https=google-chrome.desktop +x-scheme-handler/about=google-chrome.desktop +x-scheme-handler/unknown=google-chrome.desktop +application/pdf=org.pwmt.zathura.desktop +application/epub+zip=org.pwmt.zathura.desktop +application/x-mobipocket-ebook=org.pwmt.zathura.desktop +application/vnd.comicbook+zip=org.pwmt.zathura.desktop +application/vnd.comicbook-rar=org.pwmt.zathura.desktop +image/bmp=feh.desktop +image/gif=feh.desktop +image/jpeg=feh.desktop +image/jpg=feh.desktop +image/pjpeg=feh.desktop +image/png=feh.desktop +image/tiff=feh.desktop +image/webp=feh.desktop +image/heic=feh.desktop +image/x-bmp=feh.desktop +image/x-pcx=feh.desktop +image/x-png=feh.desktop +image/x-portable-anymap=feh.desktop +image/x-portable-bitmap=feh.desktop +image/x-portable-graymap=feh.desktop +image/x-portable-pixmap=feh.desktop +image/x-tga=feh.desktop +image/x-xbitmap=feh.desktop +video/mp4=mpv.desktop +video/mpeg=mpv.desktop +video/ogg=mpv.desktop +video/webm=mpv.desktop +video/x-matroska=mpv.desktop +video/x-msvideo=mpv.desktop +video/quicktime=mpv.desktop +video/x-flv=mpv.desktop +video/3gpp=mpv.desktop +video/x-ms-wmv=mpv.desktop +audio/mpeg=mpv.desktop +audio/ogg=mpv.desktop +audio/flac=mpv.desktop +audio/x-wav=mpv.desktop +audio/mp4=mpv.desktop diff --git a/dotfiles/common/.local/share/applications/mimeapps.list b/dotfiles/common/.local/share/applications/mimeapps.list deleted file mode 100644 index e69de29..0000000 -- cgit v1.2.3