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 | |
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')
-rw-r--r-- | dotfiles/.config/mimeo/associations.txt | 22 | ||||
-rw-r--r-- | dotfiles/.config/mimeo/default_arguments.txt | 1 |
2 files changed, 23 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 diff --git a/dotfiles/.config/mimeo/default_arguments.txt b/dotfiles/.config/mimeo/default_arguments.txt new file mode 100644 index 0000000..8be5f30 --- /dev/null +++ b/dotfiles/.config/mimeo/default_arguments.txt @@ -0,0 +1 @@ +--term 'termite -e' |