dotfiles/themes/dracula/.config/rofi/wallpaper_selector.sh
ManOfGoldForever b043d2807d Migrate from stow to dm theme manager
Move all config files from .config/ into themes/dracula/.config/ so the
dm tool can manage them as file-level symlinks. Removes .bak file.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 00:41:10 -04:00

11 lines
332 B
Bash
Executable file

#!/bin/bash
WALLPAPER_DIR="/mnt/data/Wallpapers"
WALLPAPERS=$(find "$WALLPAPER_DIR" -type f \( -iname "*.jpg" -o -iname "*.png" -o -iname "*.jpeg" \))
SELECTED_WALLPAPER=$(echo "$WALLPAPERS" | rofi -dmenu -i -p "Select Wallpaper:")
if [ -n "$SELECTED_WALLPAPER" ]; then
fish -c "awww_set_wallpaper '$SELECTED_WALLPAPER'"
fi