9 lines
188 B
Bash
9 lines
188 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
wallp=$1
|
||
|
: ${wallp:="$HOME/.config/wallpaper-alt.jpg"}
|
||
|
|
||
|
cp "$wallp" ~/.config/wallpaper.jpg
|
||
|
chmod -w ~/.config/wallpaper.jpg
|
||
|
DISPLAY=":0" feh --bg-fill ~/.config/wallpaper.jpg
|