aboutsummaryrefslogtreecommitdiff
path: root/.config/river/autostart.sh
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2024-12-23 21:54:47 +0000
committerJustine Smithies <justine@smithies.me.uk>2024-12-23 21:54:47 +0000
commit6716c8edf43dbb15890b187f34fefa032b003b2d (patch)
treee0325023c23df94c1cd75f95d113a8f611e6eb40 /.config/river/autostart.sh
parent09ac719bb95cb499c9de79bd65f2d3763e606153 (diff)
Read users homedir .cach/wallpaper into variable wallpaper and removed commented out export wallpaper.
Diffstat (limited to '.config/river/autostart.sh')
-rwxr-xr-x.config/river/autostart.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/.config/river/autostart.sh b/.config/river/autostart.sh
index 84b9196..c8cfa52 100755
--- a/.config/river/autostart.sh
+++ b/.config/river/autostart.sh
@@ -15,8 +15,7 @@ pkill -f kanshi
kanshi &
# $wallpaper is set in your shells config file like below.
-# read -r wallpaper<~/.cache/wallpaper
-# export wallpaper
+read -r wallpaper<"$HOME/.cache/wallpaper"
pkill -f swaybg
swaybg -m fill -i "$wallpaper" &