diff options
Diffstat (limited to '.config/river/autostart.sh')
-rwxr-xr-x | .config/river/autostart.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/river/autostart.sh b/.config/river/autostart.sh index 00ea0a5..c2be8d7 100755 --- a/.config/river/autostart.sh +++ b/.config/river/autostart.sh @@ -27,6 +27,10 @@ wlsunset -l 57.4 -L -1.9 & # Restore previous brightness backlight $(grep 'brightness:' ~/.cache/brightness | awk '{print $2}') +# Restore audio volume +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=$( echo $wallpaper) pkill -f swayidle |