From 34cca98a51c2e9cee58d80d2c70c3dd1dc598739 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Fri, 8 Mar 2024 20:00:31 +0000 Subject: Fix River autostart script ref swaylock wallpaper --- .config/river/autostart.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/river/autostart.sh b/.config/river/autostart.sh index 1d1eaa8..5b4065c 100755 --- a/.config/river/autostart.sh +++ b/.config/river/autostart.sh @@ -19,8 +19,9 @@ pkill -f /usr/libexec/xdg-desktop-portal-wlr pkill -f kanshi kanshi & +read -r wallpaper<~/.cache/wallpaper pkill -f swaybg -swaybg -m fill -i ~/.cache/wallpaper & +swaybg -m fill -i "$wallpaper" & pkill -f dunst dunst & @@ -33,5 +34,5 @@ export wallpaper='~/.cache/wallpaper' pkill -f swayidle swayidle -w \ timeout 300 'swaylock -f -i $wallpaper' \ - timeout 600 'wlopm --off \*;swaylock -F -i ~/.cache/wallpaper' resume 'wlopm --on \*' \ + timeout 600 'wlopm --off \*;swaylock -F -i $wallpaper' resume 'wlopm --on \*' \ before-sleep 'swaylock -f -i $wallpaper' & -- cgit v1.2.3