Browse Source

Fixed the initial startup

pull/10/head
JaKooLit 2 years ago
parent
commit
7b058a7d95
  1. 4
      config/hypr/initial-boot.sh

4
config/hypr/initial-boot.sh

@ -12,13 +12,13 @@ if [ ! -f ~/.hyprland_startup_done ]; then
# Check if the ~/Pictures/wallpapers directory exists # Check if the ~/Pictures/wallpapers directory exists
if [ -d ~/Pictures/wallpapers ]; then if [ -d ~/Pictures/wallpapers ]; then
# Run wal with random wallpapers from ~/Pictures/wallpapers # Run wal with random wallpapers from ~/Pictures/wallpapers
wal -i ~/Pictures/wallpapers/* wal -i ~/Pictures/wallpapers/*
echo "Pywal initialized" echo "Pywal initialized"
fi fi
fi fi
# Initializing the initial wallpaper and wal # Initializing the initial wallpaper and wal
exec ~/.config/hypr/scripts/Wallpaper.sh exec ~/.config/hypr/scripts/Wallpaper.sh &
# Create a marker file to indicate that the script has been executed. # Create a marker file to indicate that the script has been executed.
touch ~/.hyprland_startup_done touch ~/.hyprland_startup_done

Loading…
Cancel
Save