Files
Z-Dot/.config/hypr/scripts/old/ml4w/wallpaper-effects.sh
T
2026-01-19 19:14:04 +01:00

13 lines
467 B
Bash
Executable File

#!/bin/bash
# Open rofi to select the Hyprshade filter for toggle
options="$(ls ~/.config/hypr/effects/wallpaper/)\noff"
# Open rofi
choice=$(echo -e "$options" | rofi -dmenu -replace -config ~/.config/rofi/config-themes.rasi -i -no-show-icons -l 5 -width 30 -p "Hyprshade")
if [ ! -z $choice ] ;then
echo "$choice" > ~/.config/ml4w/settings/wallpaper-effect.sh
dunstify "Changing Wallpaper Effect to " "$choice"
~/.config/hypr/scripts/wallpaper.sh
fi