Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
378 B

#!/bin/sh
LANGUAGE=en
BROWSER=surf
entries=$(find "/usr/share/doc/arch-wiki/html/$LANGUAGE" -type f | sed -n "s|/usr/share/doc/arch-wiki/html/$LANGUAGE/||p" | sed -n "s/\.html$//p")
selection=$(echo "$entries" | sort | dmenu -i -l 6 -p "Select Arch Wiki Page: ")
if [ "$selection" = "" ]; then
exit 0
fi
$BROWSER "/usr/share/doc/arch-wiki/html/$LANGUAGE/$selection.html"