From d74e4f1e6a7b1a083476e8515a151f22a9b3a47b Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 27 Nov 2018 15:57:26 -0500 Subject: [PATCH] mimeapps added --- .config/mimeapps.list | 6 +++++- .local/share/applications/feh.desktop | 4 ++++ .local/share/applications/vim.desktop | 4 ++++ .local/share/applications/zathura.desktop | 4 ++++ 4 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .local/share/applications/feh.desktop create mode 100644 .local/share/applications/vim.desktop create mode 100644 .local/share/applications/zathura.desktop diff --git a/.config/mimeapps.list b/.config/mimeapps.list index 0b7dcfa..43bf715 100644 --- a/.config/mimeapps.list +++ b/.config/mimeapps.list @@ -1,3 +1,7 @@ [Default Applications] -x-scheme-handler/magnet=transmission-remote.desktop +x-scheme-handler/magnet=transmission-remote.desktop; x-scheme-handler/mailto=mutt.desktop; +text/plain=vim.desktop; +application/pdf=zathura.desktop; +image/png=feh.desktop; +image/jpeg=feh.desktop; diff --git a/.local/share/applications/feh.desktop b/.local/share/applications/feh.desktop new file mode 100644 index 0000000..be3de36 --- /dev/null +++ b/.local/share/applications/feh.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=feh image viewer +Exec=/usr/bin/feh %u diff --git a/.local/share/applications/vim.desktop b/.local/share/applications/vim.desktop new file mode 100644 index 0000000..963303e --- /dev/null +++ b/.local/share/applications/vim.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Vim +Exec=/usr/local/bin/st -e vim %u diff --git a/.local/share/applications/zathura.desktop b/.local/share/applications/zathura.desktop new file mode 100644 index 0000000..21e8c2b --- /dev/null +++ b/.local/share/applications/zathura.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Zathura PDF reader +Exec=/usr/bin/zathura %u