dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit d9a0b24eb0f87e5d77927487e1ba8e401ca998fa
parent b2569a58db8aef5dc6ec5188afa71a110bd61db7
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon,  6 Jan 2020 19:10:35 +0100

Automatically download and open more file types

Diffstat:
M.local/bin/linkhandler | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.local/bin/linkhandler b/.local/bin/linkhandler @@ -24,7 +24,7 @@ handle_url() { action="undefined" case "$url" in - *.png|*.PNG|*.jpg|*.JPG|*.jpeg|*.JPEG|*.tif|*.TIF|*.bmp|*.BMP|*.pdf|*.PDF) + *.png|*.PNG|*.jpg|*.JPG|*.jpeg|*.JPEG|*.tif|*.TIF|*.bmp|*.BMP|*.pdf|*.PDF|*.mp4|*.mkv|*.webm) notify-send "${0##*/}" "download + xdg-open" action="xdg-open" ;; *youtube.com*|*youtu.be*)