aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/lf/lfrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
index 9a103cc..574f762 100644
--- a/.config/lf/lfrc
+++ b/.config/lf/lfrc
@@ -53,7 +53,10 @@ cmd open ${{
cmd setwallpaper ${{
echo "$f" > ~/.cache/wallpaper
+ if pgrep "swayidle" > /dev/null
+ then
sh "$HOME/.config/river/scripts/swayidle-update.sh"
+ fi
pkill swaybg > /dev/null 2>&1
nohup swaybg -m fill -i "$f" > /dev/null 2>&1 &
}}