Changing from i3 to dwm - tidied ip bin folder

This commit is contained in:
Jonathan Hodgson 2019-05-17 12:52:12 +01:00
parent 6aaf779227
commit a0ef393f2b
47 changed files with 254 additions and 245 deletions

10
bin/wordpress/wpLookup Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env sh
folder="$HOME/.local/share/Zeal/Zeal/docsets/WordPress.docset/Contents/Resources/Documents/developer.wordpress.org/reference/"
file=$(find "$folder" -name "index.html" -not -path "*/page/*" -not -path "*/since/*" |
awk -F '/' '{print "(" $(NF-2) ") " $(NF-1)}' |
rofi -dmenu |
tr -d '()' |
awk '{print $1 "/" $2 "/index.html"}')
#file=$(find "$folder" -name "index.html" -not -path "*/methods/*" )
#echo "$file"
echo "$folder$file" | xargs qutebrowser