aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2024-06-03 18:00:22 +0900
committerJaKooLit <ejhay.games@gmail.com>2024-06-03 18:00:22 +0900
commit83a1038c8b9dd7907e3677ee7dd5630c9286d0e8 (patch)
treeca95c9a0c9062d8d700912b537797b0328740381 /config
parentc2578231edeb0cb812bcd038d11d295132872141 (diff)
updated Wallpaper Effect scripts
Diffstat (limited to 'config')
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperEffects.sh11
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage