Add ~/.local/share/applications rules (default.list) and local .desktop files - dotfiles - leot's dotfiles
(HTM) hg clone https://bitbucket.org/iamleot/dotfiles
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) changeset 85a4445fb605e873cdc2be2cb9d9ed4e2b5ea52d
(DIR) parent 2c4082b9906e9e821e047c413a5e9929384509b9
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Tue, 25 Sep 2018 23:41:09
Add ~/.local/share/applications rules (default.list) and local .desktop files
Diffstat:
local/share/applications/defaults.list | 122 +++++++++++++++++++++++++++
local/share/applications/editor.desktop | 7 +
local/share/applications/filebrowser.desktop | 7 +
local/share/applications/mupdf.desktop | 7 +
local/share/applications/sxiv.desktop | 7 +
5 files changed, 150 insertions(+), 0 deletions(-)
---
diff -r 2c4082b9906e -r 85a4445fb605 local/share/applications/defaults.list
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/local/share/applications/defaults.list Tue Sep 25 23:41:09 2018 +0200
@@ -0,0 +1,122 @@
+[Default Applications]
+application/eps=zathura.desktop;
+application/epub+zip=mupdf.desktop;
+application/pdf=mupdf.desktop;
+application/postscript=zathura.desktop;
+application/x-eps=zathura.desktop;
+audio/mp4=mpv.desktop;
+image/eps=zathura.desktop;
+image/gif=sxiv.desktop;
+image/jpeg=sxiv.desktop;
+image/png=sxiv.desktop;
+image/vnd.djvu=zathura.desktop;
+image/x-eps=zathura.desktop;
+inode/directory=filebrowser.desktop;
+text/css=editor.desktop;
+text/csv-schema=editor.desktop;
+text/csv=editor.desktop;
+text/enriched=editor.desktop;
+text/htmlh=editor.desktop;
+text/markdown=editor.desktop;
+text/plain=editor.desktop;
+text/plain=editor.desktop;
+text/rfc822-headers=editor.desktop;
+text/richtext=editor.desktop;
+text/rust=editor.desktop;
+text/sgml=editor.desktop;
+text/tab-separated-values=editor.desktop;
+text/troff=editor.desktop;
+text/turtle=editor.desktop;
+text/vcard=editor.desktop;
+text/x-adasrc=editor.desktop;
+text/x-authors=editor.desktop;
+text/x-bibtex=editor.desktop;
+text/x-c++hdr=editor.desktop;
+text/x-c++src=editor.desktop;
+text/x-changelog=editor.desktop;
+text/x-chdr=editor.desktop;
+text/x-cmake=editor.desktop;
+text/x-cobol=editor.desktop;
+text/x-copying=editor.desktop;
+text/x-credits=editor.desktop;
+text/x-csharp=editor.desktop;
+text/x-csrc=editor.desktop;
+text/x-dbus-service=editor.desktop;
+text/x-dcl=editor.desktop;
+text/x-dsl=editor.desktop;
+text/x-dsrc=editor.desktop;
+text/x-eiffel=editor.desktop;
+text/x-emacs-lisp=editor.desktop;
+text/x-erlang=editor.desktop;
+text/x-fortran=editor.desktop;
+text/x-genie=editor.desktop;
+text/x-gettext-translation-template=editor.desktop;
+text/x-gettext-translation=editor.desktop;
+text/x-gherkin=editor.desktop;
+text/x-go=editor.desktop;
+text/x-google-video-pointer=editor.desktop;
+text/x-haskell=editor.desktop;
+text/x-idl=editor.desktop;
+text/x-imelody=editor.desktop;
+text/x-install=editor.desktop;
+text/x-iptables=editor.desktop;
+text/x-java=editor.desktop;
+text/x-ldif=editor.desktop;
+text/x-lilypond=editor.desktop;
+text/x-literate-haskell=editor.desktop;
+text/x-log=editor.desktop;
+text/x-lua=editor.desktop;
+text/x-makefile=editor.desktop;
+text/x-matlab=editor.desktop;
+text/x-meson=editor.desktop;
+text/x-microdvd=editor.desktop;
+text/x-moc=editor.desktop;
+text/x-modelica=editor.desktop;
+text/x-mof=editor.desktop;
+text/x-mpsub=editor.desktop;
+text/x-mrml=editor.desktop;
+text/x-ms-regedit=editor.desktop;
+text/x-mup=editor.desktop;
+text/x-nfo=editor.desktop;
+text/x-objcsrc=editor.desktop;
+text/x-ocaml=editor.desktop;
+text/x-ocl=editor.desktop;
+text/x-ooc=editor.desktop;
+text/x-opencl-src=editor.desktop;
+text/x-opml+xml=editor.desktop;
+text/x-pascal=editor.desktop;
+text/x-patch=editor.desktop;
+text/x-python3=editor.desktop;
+text/x-python=editor.desktop;
+text/x-qml=editor.desktop;
+text/x-readme=editor.desktop;
+text/x-reject=editor.desktop;
+text/x-rpm-spec=editor.desktop;
+text/x-sass=editor.desktop;
+text/x-scala=editor.desktop;
+text/x-scheme=editor.desktop;
+text/x-scons=editor.desktop;
+text/x-scss=editor.desktop;
+text/x-setext=editor.desktop;
+text/x-ssa=editor.desktop;
+text/x-subviewer=editor.desktop;
+text/x-svhdr=editor.desktop;
+text/x-svsrc=editor.desktop;
+text/x-systemd-unit=editor.desktop;
+text/x-tcl=editor.desktop;
+text/x-tex=editor.desktop;
+text/x-texinfo=editor.desktop;
+text/x-troff-me=editor.desktop;
+text/x-troff-mm=editor.desktop;
+text/x-troff-ms=editor.desktop;
+text/x-twig=editor.desktop;
+text/x-txt2tags=editor.desktop;
+text/x-uil=editor.desktop;
+text/x-uri=editor.desktop;
+text/x-uuencode=editor.desktop;
+text/x-vala=editor.desktop;
+text/x-verilog=editor.desktop;
+text/x-vhdl=editor.desktop;
+text/x-xmi=editor.desktop;
+text/x-xslfo=editor.desktop;
+text/x.gcode=editor.desktop;
diff -r 2c4082b9906e -r 85a4445fb605 local/share/applications/editor.desktop
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/local/share/applications/editor.desktop Tue Sep 25 23:41:09 2018 +0200
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Type=Application
+Name=editor
+NoDisplay=true
+Exec=tmux new-window vi
diff -r 2c4082b9906e -r 85a4445fb605 local/share/applications/filebrowser.desktop
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/local/share/applications/filebrowser.desktop Tue Sep 25 23:41:09 2018 +0200
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Type=Application
+Name=filebrowser
+NoDisplay=true
+Exec=tmux new-window -c
diff -r 2c4082b9906e -r 85a4445fb605 local/share/applications/mupdf.desktop
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/local/share/applications/mupdf.desktop Tue Sep 25 23:41:09 2018 +0200
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Type=Application
+Name=mupdf
+NoDisplay=true
+Exec=mupdf
diff -r 2c4082b9906e -r 85a4445fb605 local/share/applications/sxiv.desktop
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/local/share/applications/sxiv.desktop Tue Sep 25 23:41:09 2018 +0200
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Type=Application
+Name=sxiv
+NoDisplay=true
+Exec=sxiv