diff options
author | Justine Smithies <justine@smithies.me.uk> | 2024-12-21 17:49:48 +0000 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2024-12-21 17:49:48 +0000 |
commit | 3984000fc66671cd5d2217b3a4ae14d5ea8c5e0c (patch) | |
tree | a23fcecc3c607956666c6a5cc199c5fafe3c33e6 /.config | |
parent | 495104a10970d6958ce7552a0f27e95b3c099923 (diff) |
Changed setwallaper function so it now dynamically sets the wallpaper and the swayidle background on change.
Diffstat (limited to '.config')
-rw-r--r-- | .config/lf/lfrc | 7 |
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 |