Add XDG defaults: mimeapps.list with firefox, thunar, code, imv, mpv, zathura
This commit is contained in:
@@ -19,6 +19,7 @@ ln -sf "$(pwd)/mako/config" ~/.config/mako/config
|
|||||||
ln -sf "$(pwd)/alacritty/alacritty.toml" ~/.config/alacritty/alacritty.toml
|
ln -sf "$(pwd)/alacritty/alacritty.toml" ~/.config/alacritty/alacritty.toml
|
||||||
ln -sf "$(pwd)/gtk-3.0/settings.ini" ~/.config/gtk-3.0/settings.ini
|
ln -sf "$(pwd)/gtk-3.0/settings.ini" ~/.config/gtk-3.0/settings.ini
|
||||||
ln -sf "$(pwd)/gtk-4.0/settings.ini" ~/.config/gtk-4.0/settings.ini
|
ln -sf "$(pwd)/gtk-4.0/settings.ini" ~/.config/gtk-4.0/settings.ini
|
||||||
|
ln -sf "$(pwd)/xdg/mimeapps.list" ~/.config/mimeapps.list
|
||||||
|
|
||||||
echo "==> Installing scripts"
|
echo "==> Installing scripts"
|
||||||
mkdir -p ~/.local/bin
|
mkdir -p ~/.local/bin
|
||||||
|
|||||||
@@ -0,0 +1,63 @@
|
|||||||
|
[Default Applications]
|
||||||
|
# Web browser
|
||||||
|
x-scheme-handler/http=firefox.desktop
|
||||||
|
x-scheme-handler/https=firefox.desktop
|
||||||
|
x-scheme-handler/chrome=firefox.desktop
|
||||||
|
text/html=firefox.desktop
|
||||||
|
application/xhtml+xml=firefox.desktop
|
||||||
|
application/x-extension-htm=firefox.desktop
|
||||||
|
application/x-extension-html=firefox.desktop
|
||||||
|
application/x-extension-shtml=firefox.desktop
|
||||||
|
application/x-extension-xhtml=firefox.desktop
|
||||||
|
application/x-extension-xht=firefox.desktop
|
||||||
|
|
||||||
|
# File manager
|
||||||
|
inode/directory=thunar.desktop
|
||||||
|
|
||||||
|
# Text editor
|
||||||
|
text/plain=code.desktop
|
||||||
|
text/css=code.desktop
|
||||||
|
text/javascript=code.desktop
|
||||||
|
text/x-python=code.desktop
|
||||||
|
text/x-shellscript=code.desktop
|
||||||
|
text/x-c=code.desktop
|
||||||
|
text/x-c++=code.desktop
|
||||||
|
text/x-rust=code.desktop
|
||||||
|
text/xml=code.desktop
|
||||||
|
text/markdown=code.desktop
|
||||||
|
application/json=code.desktop
|
||||||
|
application/x-shellscript=code.desktop
|
||||||
|
|
||||||
|
# Image viewer
|
||||||
|
image/jpeg=imv.desktop
|
||||||
|
image/png=imv.desktop
|
||||||
|
image/gif=imv.desktop
|
||||||
|
image/webp=imv.desktop
|
||||||
|
image/bmp=imv.desktop
|
||||||
|
image/tiff=imv.desktop
|
||||||
|
image/svg+xml=imv.desktop
|
||||||
|
image/x-portable-anymap=imv.desktop
|
||||||
|
|
||||||
|
# Video player
|
||||||
|
video/mp4=mpv.desktop
|
||||||
|
video/x-matroska=mpv.desktop
|
||||||
|
video/webm=mpv.desktop
|
||||||
|
video/avi=mpv.desktop
|
||||||
|
video/mpeg=mpv.desktop
|
||||||
|
video/x-msvideo=mpv.desktop
|
||||||
|
video/quicktime=mpv.desktop
|
||||||
|
video/ogg=mpv.desktop
|
||||||
|
video/3gpp=mpv.desktop
|
||||||
|
|
||||||
|
# Audio player
|
||||||
|
audio/mpeg=mpv.desktop
|
||||||
|
audio/ogg=mpv.desktop
|
||||||
|
audio/flac=mpv.desktop
|
||||||
|
audio/x-wav=mpv.desktop
|
||||||
|
audio/mp4=mpv.desktop
|
||||||
|
audio/aac=mpv.desktop
|
||||||
|
audio/opus=mpv.desktop
|
||||||
|
|
||||||
|
# PDF / documents
|
||||||
|
application/pdf=org.pwmt.zathura-pdf-mupdf.desktop
|
||||||
|
application/x-pdf=org.pwmt.zathura-pdf-mupdf.desktop
|
||||||
Reference in New Issue
Block a user