diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2024-06-03 18:00:22 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2024-06-03 18:00:22 +0900 |
| commit | 83a1038c8b9dd7907e3677ee7dd5630c9286d0e8 (patch) | |
| tree | ca95c9a0c9062d8d700912b537797b0328740381 /config/hypr/UserScripts | |
| parent | c2578231edeb0cb812bcd038d11d295132872141 (diff) | |
updated Wallpaper Effect scripts
Diffstat (limited to 'config/hypr/UserScripts')
| -rwxr-xr-x | config/hypr/UserScripts/WallpaperEffects.sh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh index de4470d2..9122da34 100755 --- a/config/hypr/UserScripts/WallpaperEffects.sh +++ b/config/hypr/UserScripts/WallpaperEffects.sh @@ -23,12 +23,12 @@ SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration # https://imagemagick.org/script/magick.php declare -A effects=( -["Black and White"]="magick $current_wallpaper -set colorspace Gray -separate -average $wallpaper_output" +["Black & White"]="magick $current_wallpaper -set colorspace Gray -separate -average $wallpaper_output" ["Blurred"]="magick $current_wallpaper -blur "20x30" $wallpaper_output" ["Solarize"]="magick $current_wallpaper -solarize 80% $wallpaper_output" -["Sepia-Tone"]="magick $current_wallpaper -sepia-tone 65% $wallpaper_output" +["Sepia Tone"]="magick $current_wallpaper -sepia-tone 65% $wallpaper_output" ["Negate"]="magick $current_wallpaper -negate $wallpaper_output" -["Charcoal"]="magick $current_wallpaper -charcoal "10x90" $wallpaper_output" +["Charcoal"]="magick $current_wallpaper -charcoal "10x10" $wallpaper_output" ["No Effects"]="no-effects" ) @@ -44,6 +44,9 @@ no_effects() { # Refresh rofi, waybar, wallust palettes "${SCRIPTSDIR}/Refresh.sh" notify-send -u low -i "$iDIR/bell.png" "No wallpaper effects" + + # copying wallpaper for rofi menu + cp $current_wallpaper $wallpaper_output } # Function to run rofi menu @@ -65,7 +68,7 @@ main() { no_effects else # Apply selected effect - notify-send -i "$iDIR/bell.png" "Applying $choice effects" + notify-send -u normal -i "$iDIR/bell.png" "Applying $choice effects" eval "${effects[$choice]}" # Wait for effects to be applied sleep 1 |
