aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/x.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bash/x.sh b/bash/x.sh
index 4b43506..ab94b0f 100644
--- a/bash/x.sh
+++ b/bash/x.sh
@@ -4,9 +4,11 @@ isLinux && {
xmodmap ~/.Xmodmap
xset r rate 250 50
+ # query with: xdg-mime query filetype <file>
xdg-mime default evince.desktop application/pdf
xdg-mime default vlc.desktop video/mp4
xdg-mime default vlc.desktop video/webm
+ xdg-mime default vlc.desktop video/x-matroska
xdg-settings set default-web-browser firefox.desktop
xdg-mime default firefox.desktop text/html