From 9f9709304799d63223089372aff442035d61314c Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Wed, 19 Apr 2023 18:17:20 +0300 Subject: [PATCH] export display --- earth_wallpaper.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/earth_wallpaper.sh b/earth_wallpaper.sh index fba14fa..52b3f3e 100755 --- a/earth_wallpaper.sh +++ b/earth_wallpaper.sh @@ -101,6 +101,7 @@ if [ -z ${curl_cmd} ]; then exit 3 fi +export DISPLAY=:0.0 if [[ -z ${city} ]]; then echo "You must indicate a city to center the image." exit 4