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 c663e55fa23880ed991600282c76a237a90ef443
parent 74f1860b81d776cf5d83e8c0c5a453eebf0466ce
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed,  8 Jan 2020 12:36:05 +0100

Do not remove files after opening

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

diff --git a/.local/bin/linkhandler b/.local/bin/linkhandler @@ -84,8 +84,7 @@ handle_url() { nohup mpv -quiet "$url" >/dev/null 2>&1 & ;; "xdg-open") f="$(curl -s --write-out "%{filename_effective}\n" -OL "$url")" - nohup xdg-open "$f" >/dev/null 2>&1 & - sleep 120; rm "$f" ;; + nohup xdg-open "$f" >/dev/null 2>&1 & ;; "youtube-dl") echo "youtube-dl '$url' >/dev/null" | at now;; "youtube-dl-music")