diff options
Diffstat (limited to 'bin/bin/downloads')
-rwxr-xr-x | bin/bin/downloads | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/bin/downloads b/bin/bin/downloads index 46d64bd..45dc41f 100755 --- a/bin/bin/downloads +++ b/bin/bin/downloads @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + download_dir="$HOME/Downloads" target=$(find $download_dir -regex '.*\.\(pdf\|PDF\|djvu\|ps\)' -printf "%f\n" | dmenu -i -p "Open File:") [[ -n $target ]] && exec zathura "$download_dir/$target" |