diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-09-18 00:13:07 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-09-18 00:13:07 +0300 |
commit | 840f1e3bdd34b0b4b8d1d199ef6e97b6f1a1951d (patch) | |
tree | fd091847979e0ac5d05de15c4f2d9d82c088a4d6 /dotfiles/.config/mimeo/associations.txt | |
parent | e5a7e88b25b88f9aa55bbce105467c81472a6aba (diff) | |
download | swayrice-840f1e3bdd34b0b4b8d1d199ef6e97b6f1a1951d.tar.gz swayrice-840f1e3bdd34b0b4b8d1d199ef6e97b6f1a1951d.zip |
Use solely mimeo to handle default files/links
Diffstat (limited to 'dotfiles/.config/mimeo/associations.txt')
-rw-r--r-- | dotfiles/.config/mimeo/associations.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dotfiles/.config/mimeo/associations.txt b/dotfiles/.config/mimeo/associations.txt new file mode 100644 index 0000000..9a666ec --- /dev/null +++ b/dotfiles/.config/mimeo/associations.txt @@ -0,0 +1,22 @@ +mpv --input-ipc-server=/tmp/mpvsock -quiet %U >/dev/null 2>&1 + ^https?://(www.)?youtube.com/watch\?.*v= + ^https?://youtu.be/ + ^https?://.*\.mkv + ^https?://.*\.webm + ^https?://.*\.mp4 + +imgurl %U + ^https?://.*\.png + ^https?://.*\.jpg + ^https?://.*\.jpe + ^https?://.*\.jpeg + ^https?://.*\.gif + ^https?://.*\.bmp + +libreoffice %F + \.doc + \.docx + \.xls + \.xlsx + \.ppt + \.pptx |