Set mimeapps

This commit is contained in:
Augusto Gunsch 2021-11-28 09:15:06 -03:00
parent ac825f5591
commit 5fa0aca52c
No known key found for this signature in database
GPG Key ID: F7EEFE29825C72DC
4 changed files with 41 additions and 1 deletions

12
config/mimeapps.list Normal file
View File

@ -0,0 +1,12 @@
[Added Associations]
#Placeholder
[Default Applications]
text/plain=nvim.desktop;
application/pdf=mupdf.desktop
video/mp4=mpv.desktop
image/png=feh.desktop
image/jpg=feh.desktop
x-scheme-handler/http=qutebrowser.desktop
x-scheme-handler/https=qutebrowser.desktop
text/html=qutebrowser.desktop

View File

@ -1,4 +1,4 @@
export PATH="$HOME/.local/bin:$PATH"
export PATH="$HOME/.local/bin:$HOME/.cargo/bin:$PATH"
export EDITOR="/usr/bin/nvim"
# vim
@ -39,6 +39,9 @@ alias find="find -name"
# sl
alias sl="ls"
#la
alias la="ls -a"
finder() {
grepa "$1" | less
}

View File

@ -0,0 +1,12 @@
[Added Associations]
#Placeholder
[Default Applications]
text/plain=nvim.desktop;
application/pdf=mupdf.desktop
video/mp4=mpv.desktop
image/png=feh.desktop
image/jpg=feh.desktop
x-scheme-handler/http=qutebrowser.desktop
x-scheme-handler/https=qutebrowser.desktop
text/html=qutebrowser.desktop

View File

@ -0,0 +1,13 @@
[Desktop Entry]
Version=1.0
Name=Qutebrowser
TryExec=qutebrowser
Exec=qutebrowser %U
Terminal=false
Type=Application
Categories=Network;WebBrowser;
MimeType=application/xhtml+xml;application/xhtml_xml;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https;
Actions=new-window;
[Desktop Action new-window]
Exec=qutebrowser