diff options
author | Justine Smithies <justine@smithies.me.uk> | 2024-12-21 16:36:13 +0000 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2024-12-21 16:36:13 +0000 |
commit | 2c91cea098a4ca8e0db4f211715362a6e626119e (patch) | |
tree | 497eebcfe47b82738fb7efa53656ebe10abbf860 /.config | |
parent | 661feeec483afeaf80b4f7fb42d6e12d1652d5df (diff) |
Removed unused lines for reading current wallpaper as already set in users shell config.
Diffstat (limited to '.config')
-rwxr-xr-x | .config/river/autostart.sh | 6 |
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" \ |