aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/lf/lfrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
index 91b0398..78d0de3 100644
--- a/.config/lf/lfrc
+++ b/.config/lf/lfrc
@@ -52,7 +52,12 @@ cmd open ${{
}}
cmd setwallpaper ${{
- echo "$f" > ~/.cache/wallpaper; pkill swaybg > /dev/null 2>&1; nohup swaybg -m fill -i "$f" > /dev/null 2>&1 &
+ echo "$f" > ~/.cache/wallpaper
+ wallpaper="$f"
+ export wallpaper
+ sh "$HOME/.config/river/scripts/swayidle-update.sh"
+ pkill swaybg > /dev/null 2>&1
+ nohup swaybg -m fill -i "$f" > /dev/null 2>&1 &
}}
# Key Mappings