From 75d2fae5d8eef0e8a5f37f90d90a569e119f47a1 Mon Sep 17 00:00:00 2001 From: Meutel Date: Sun, 12 Nov 2017 19:52:22 +0100 Subject: [PATCH] abra: force wallpaper --- wallp.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 wallp.sh diff --git a/wallp.sh b/wallp.sh new file mode 100755 index 0000000..b190910 --- /dev/null +++ b/wallp.sh @@ -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