Advertisement
constantin-net

wallpp

Aug 5th, 2016
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.35 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. WALLPAPERS="/wallpapers"
  4. ALIST=( `ls -w1 $WALLPAPERS` )
  5. RANGE=${#ALIST[*]}
  6. SHOW=$(( $RANDOM % $RANGE ))
  7.  
  8. #feh --bg-tile $WALLPAPERS/${ALIST[$SHOW]};
  9. #feh --bg-scale $WALLPAPERS/${ALIST[$SHOW]};
  10. #feh --bg-center $WALLPAPERS/${ALIST[$SHOW]};
  11. feh --bg-fill $WALLPAPERS/${ALIST[$SHOW]};
  12. #feh --bg-seamless $WALLPAPERS/${ALIST[$SHOW]};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement