From 6157ca37ec005af099d5db183221aa41f05f6367 Mon Sep 17 00:00:00 2001 From: Adam <24621027+WhiteDopeOnPunk@users.noreply.github.com> Date: Mon, 1 Jan 2024 07:00:13 -0500 Subject: [PATCH] improve performance of bg script --- bin/doorsbg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/doorsbg b/bin/doorsbg index 8068706..36fd156 100755 --- a/bin/doorsbg +++ b/bin/doorsbg @@ -4,11 +4,14 @@ # not by itself though it should work regardless # Pick a random wallpaper and save a copy +# &&s ensure it gets batched wal -i ~/Pictures/Wallpapers && cp $(awk {print} ~/.cache/wal/wal) ~/.cache/wal/bg && # Update themes for other stuff it it exists +# Fire these and bail to not block any dependents [[ -x "$(command -v pywalfox)" ]] && pywalfox update & [[ -x "$(command -v pywal-discord)" ]] && pywal-discord & [[ -x "$(command -v beautifuldiscord)" ]] && beautifuldiscord --css ~/.config/BetterDiscord/themes & [[ -x "$(command -v wal-telegram )" ]] && wal-telegram -g & +exit