diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-03-03 19:53:22 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-03-03 19:53:22 +0100 |
commit | 97487ed1431ed0cfa4f5b6facd69dbd0f13911f4 (patch) | |
tree | cacc50f96ebb5a9b2a3c8d374bbf9e8ccedc64cf /bin/dmscripts/dmpdf | |
parent | 5522d426e21cbedb8791ee4399ff7d28a4c6f10e (diff) |
renamed dmscripts to guiscripts
Diffstat (limited to 'bin/dmscripts/dmpdf')
-rwxr-xr-x | bin/dmscripts/dmpdf | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/bin/dmscripts/dmpdf b/bin/dmscripts/dmpdf deleted file mode 100755 index cf1f0dd..0000000 --- a/bin/dmscripts/dmpdf +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -find ${1:-~/docs ~/Downloads} 2> /dev/null | grep -E ".+\.pdf" | sort > /tmp/dmpdf -choice="$(\ - sed 's|^/home/aluc|\~| ; s|\([^/]\)[^/]*/|\1/|g' /tmp/dmpdf \ - | awk '{printf "%s %s\n", NR ":", $0}' \ - | dmenu -l 10 -g 1 -x -i \ - | grep -oE "^[0-9]+:" \ -)" -if [ -z "$choice" ]; then - exit -fi -file="$(sed -n "${choice::-1}p" /tmp/dmpdf)" -evince "$file" & |