#!/bin/bash
WALLPAPER_DIR="/home/eli/wallpapers/walls"
SPECIFIC_IMAGE=$(find "$WALLPAPER_DIR" -type f \( -iname "*.jpg" -o -iname "*.png" -o -iname "*.jpeg" \) | shuf -n 1)
swww img "$SPECIFIC_IMAGE" --transition-type outer --transition-pos "$(hyprctl cursorpos)" --transition-fps 60 --transition-duration 1
wal -i "$SPECIFIC_IMAGE" -not-set --cols16
swaync-client --reload-css
cat ~/.cache/wal/colors-kitty.conf > ~/.config/kitty/current-theme.conf
