X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=xinitrc;h=2a6866b86e812dc5383efbb755a3ae216f031015;hb=8acd7a44174f1d600ceb3396e23a18bc76766f67;hp=6a9025463be38986c376bbbf6286dd8c1cdfba6c;hpb=cda680624c7715a9ac500b17f6edfb9b40ff8385;p=config%2Fdotfiles.git diff --git a/xinitrc b/xinitrc index 6a90254..2a6866b 100755 --- a/xinitrc +++ b/xinitrc @@ -9,7 +9,11 @@ xmodmap ~/.xmodmaprc # Change the background if available. if [ -f ~/.background ]; then - hsetroot -full ~/.background + if [ -x /usr/bin/hsetroot ]; then + hsetroot -full ~/.background + elif [ -x /usr/bin/feh ]; then + feh --bg-scale ~/.background + fi fi # Start XMonad.