From 3ce150f3859838b57790986ba05ca1b897b31278 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Mon, 7 Feb 2022 12:32:42 +0000 Subject: [PATCH] Makes background script use hsetroot --- systemd/HOME/.config/systemd/user/randomBackground | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/systemd/HOME/.config/systemd/user/randomBackground b/systemd/HOME/.config/systemd/user/randomBackground index 7912efed..2208f4c6 100755 --- a/systemd/HOME/.config/systemd/user/randomBackground +++ b/systemd/HOME/.config/systemd/user/randomBackground @@ -16,6 +16,10 @@ if [ -n "$WAYLAND_DISPLAY" ]; then sleep 60 done else - /usr/bin/feh --bg-fill "$background" + if [ -f /usr/bin/feh ]; then + /usr/bin/feh --bg-fill "$background" + else + /usr/bin/hsetroot -fill "$background" + fi fi