abra: force wallpaper

This commit is contained in:
Meutel 2017-11-12 19:52:22 +01:00
parent 18ebe1571a
commit 75d2fae5d8
1 changed files with 8 additions and 0 deletions

8
wallp.sh Executable file
View File

@ -0,0 +1,8 @@
#!/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