From 027ead5d72e3c8a4efb9c3e4fd503c7e03188e85 Mon Sep 17 00:00:00 2001 From: dabruh <11458706-dabruh@users.noreply.gitlab.com> Date: Tue, 7 Jun 2022 12:36:37 +0200 Subject: [PATCH] Add wallpaper override. --- install.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/install.sh b/install.sh index 3458696..1e0bed2 100755 --- a/install.sh +++ b/install.sh @@ -77,6 +77,17 @@ function install() { echo } +function override_bg() { + local default=~/.local/share/bg override=~/Pictures/bg + + ! [ -e "$override" ] && return + + echo "Overriding default background with '$override'." + ln -sfn "$override" "$default" + echo +} + install +override_bg i3-config-builder echo "Done! 👌"