Merge branch 'master' of githubp:GeoffreyFrogeye/dotfiles

This commit is contained in:
Geoffrey Frogeye 2016-02-03 18:47:45 +01:00
commit 982a133a2c
2 changed files with 6 additions and 6 deletions

View file

@ -44,16 +44,16 @@ function error { # str
function locinst_arch {
function getPageLink { # package, arch, repo
echo "https://www.archlinux.org/packages/$3/$2/$1/"
}
function getDlLink { # package, arch, repo
echo "$(getPageLink $1 $2 $3)download/"
}
function findPackage { # package
function getPageLink { # package, arch, repo
echo "https://www.archlinux.org/packages/$3/$2/$1/"
}
function testLink { # link
wget -q --max-redirect 0 "$1" -O /dev/null
return $?

View file

@ -6,12 +6,12 @@
# Executed by startx (run your window manager from here)
#
[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
[ -f ~/.Xresources ] && xrdb -merge -I$HOME ~/.Xresources
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
found=0
function tryDM {
tryDM() {
if [ $found -eq 0 ]; then
parameters=''
case $1 in