Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # filename: reddit-wallpaper
- # Usage: reddit-wallpaper [POSTNUMBER SUBREDDIT]
- RWP="/path/to/reddit-wallpaper.py"
- DIR="/home/user/Pictures"
- if [ $1 ]; then
- if [ $2 ]; then
- python3 $RWP --dir=$DIR --number=$1 --sub=$2
- else
- python3 $RWP --dir=$DIR --number=$1
- fi
- else
- python3 $RWP --dir=$DIR
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement