aboutsummaryrefslogtreecommitdiff
path: root/.config/river
diff options
context:
space:
mode:
Diffstat (limited to '.config/river')
-rwxr-xr-x.config/river/autostart.sh6
1 files changed, 3 insertions, 3 deletions
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" \