12 lines
395 B
Bash
Executable File
12 lines
395 B
Bash
Executable File
#!/bin/sh -e
|
|
# A simple script to set the wallpaper using existing tools.
|
|
# Sorted in order of efficiency.
|
|
|
|
if [ $# != 1 ]
|
|
then printf "Paperboy is a simple script that will automatically detect and use existing tools to set your wallpaper.\n"
|
|
elif [ -x /usr/bin/xwallpaper ]
|
|
then xwallpaper --no-randr --stretch $1
|
|
elif [ -x /usr/bin/feh ]
|
|
then feh --no-fehbg --bg-scale $1
|
|
fi
|