X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=xinitrc;h=2a6866b86e812dc5383efbb755a3ae216f031015;hb=99690b2935bb89cd7862196bde2995e3327b3c4a;hp=6a9025463be38986c376bbbf6286dd8c1cdfba6c;hpb=fa4563d99b4605820c6e8e882632a400a8475a01;p=config%2Fdotfiles.git diff --git a/xinitrc b/xinitrc old mode 100644 new mode 100755 index 6a90254..2a6866b --- 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.