From 468a789dbc4b1928c035d8590895efc533520a27 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Wed, 24 Feb 2021 17:07:33 +0100 Subject: Updated file tree to match XDG base directory specification --- local/share/applications/mutt.desktop | 4 ++++ local/share/applications/newsboat.desktop | 4 ++++ local/share/applications/sxiv.desktop | 4 ++++ local/share/applications/zathura.desktop | 4 ++++ local/share/mimeapps.list | 25 +++++++++++++++++++++++++ local/share/mutt/solarized | 1 + 6 files changed, 42 insertions(+) create mode 100644 local/share/applications/mutt.desktop create mode 100644 local/share/applications/newsboat.desktop create mode 100644 local/share/applications/sxiv.desktop create mode 100644 local/share/applications/zathura.desktop create mode 100644 local/share/mimeapps.list create mode 160000 local/share/mutt/solarized (limited to 'local/share') diff --git a/local/share/applications/mutt.desktop b/local/share/applications/mutt.desktop new file mode 100644 index 0000000..24d0a48 --- /dev/null +++ b/local/share/applications/mutt.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Mail client +Exec=/usr/bin/mutt %u diff --git a/local/share/applications/newsboat.desktop b/local/share/applications/newsboat.desktop new file mode 100644 index 0000000..609bb5a --- /dev/null +++ b/local/share/applications/newsboat.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=RSS client +Exec=/usr/bin/newsboat %u diff --git a/local/share/applications/sxiv.desktop b/local/share/applications/sxiv.desktop new file mode 100644 index 0000000..0db2053 --- /dev/null +++ b/local/share/applications/sxiv.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Image viewer +Exec=/usr/local/bin/sxiv %u diff --git a/local/share/applications/zathura.desktop b/local/share/applications/zathura.desktop new file mode 100644 index 0000000..8c38677 --- /dev/null +++ b/local/share/applications/zathura.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=PDF reader +Exec=/usr/bin/zathura %u diff --git a/local/share/mimeapps.list b/local/share/mimeapps.list new file mode 100644 index 0000000..49a184b --- /dev/null +++ b/local/share/mimeapps.list @@ -0,0 +1,25 @@ +[Default Applications] + +# from: https://git.lukesmith.xyz/dotfiles/file/.config/mimeapps.list + +# xdg-open will use these settings to determine how to open filetypes. +# These .desktop entries can also be seen and changed in ~/.local/share/applications/ + +# text/x-shellscript=text.desktop; +# x-scheme-handler/magnet=torrent.desktop; +# application/x-bittorrent=torrent.desktop; +x-scheme-handler/mailto=mail.desktop; +# text/plain=text.desktop; +application/postscript=zathura.desktop; +application/pdf=zathura.desktop; + +image/png=sxiv.desktop; +image/jpeg=sxiv.desktop; +image/gif=sxiv.desktop; +image/svg+xml=sxiv.desktop; + +application/rss+xml=newsboat.desktop + +video/x-matroska=mpv.desktop +# x-scheme-handler/lbry=lbry.desktop +# inode/directory=file.desktop diff --git a/local/share/mutt/solarized b/local/share/mutt/solarized new file mode 160000 index 0000000..3b23c55 --- /dev/null +++ b/local/share/mutt/solarized @@ -0,0 +1 @@ +Subproject commit 3b23c55eb43849975656dd89e3f35dacd2b93e69 -- cgit