From 2c91cea098a4ca8e0db4f211715362a6e626119e Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Sat, 21 Dec 2024 16:36:13 +0000 Subject: Removed unused lines for reading current wallpaper as already set in users shell config. --- .config/river/autostart.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.config/river/autostart.sh') diff --git a/.config/river/autostart.sh b/.config/river/autostart.sh index ca4a846..5b0aae4 100755 --- a/.config/river/autostart.sh +++ b/.config/river/autostart.sh @@ -14,7 +14,9 @@ pkill -f /usr/local/libexec/xdg-desktop-portal-wlr pkill -f kanshi kanshi & -read -r wallpaper<~/.cache/wallpaper +# $wallpaper is set in your shells config file like below. +# read -r wallpaper<~/.cache/wallpaper +# export wallpaper pkill -f swaybg swaybg -m fill -i "$wallpaper" & @@ -31,8 +33,6 @@ backlight "$(grep 'brightness:' ~/.cache/brightness | awk '{print $2}')" mixer vol.volume="$(grep 'vol.volume=' ~/.cache/audio-volume | awk -F ':' '{print $2}')" mixer vol.mute="$(grep 'vol.mute=' ~/.cache/audio-volume | awk -F '=' '{print $2}')" -export wallpaper="$($wallpaper)" - pkill -f swayidle swayidle -w \ timeout 300 "swaylock -f -i $wallpaper" \ -- cgit v1.2.3