Ledger Nano X - The secure hardware wallet
SHARE
TWEET

random_wallpaper.sh

maya000 Jun 11th, 2017 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. # last updated : 2010/01/05 15:12:05 JST
  3. #
  4. # SET random Wallpapers for background.
  5. #
  6.  
  7. WALLPAPERS="$HOME/MyPictures/Wallpapers/1920x1080"
  8. ALIST=( `ls -w1 $WALLPAPERS` )
  9. RANGE=${#ALIST[*]}
  10. SHOW=$(( $RANDOM % $RANGE ))
  11.  
  12. feh --bg-scale $WALLPAPERS/${ALIST[$SHOW]}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top