This commit is contained in:
iFargle 2023-08-31 21:15:23 +09:00
parent 1b07ec4d0d
commit 9fbc05dfa4

View file

@ -254,8 +254,9 @@
# Set the wallpaper
swww init &
WALLPAPER_DIR=/etc/nixos/git/wallpapers/${theme}
swww img $WALLPAPER_DIR/`ls $WALLPAPER_DIR | shuf -n 1` &
DIR=/etc/nixos/git/wallpapers/${theme}
IMG=`ls $DIR | shuf -n 1`
swww img $DIR/$IMG
# Waybar
waybar &