Guest User

Untitled

a guest
Jul 15th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #!/bin/bash
  2. typeset -i x;x=0;
  3. for i in ~/walls/*.{jpg,png,JPG,PNG};do
  4. wall[$x]="$i"
  5. let "x=$x+1"
  6. done
  7.  
  8. unique=$RANDOM
  9. let "unique %= ${#wall[@]}"
  10. feh --bg-scale "${wall[$unique]}"
Add Comment
Please, Sign In to add comment