aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2024-06-03 21:28:42 +0900
committerGitHub <noreply@github.com>2024-06-03 21:28:42 +0900
commit6490171750e89a49e3f84398ea77079b0b079b53 (patch)
tree23838daa93b688a991f8358ec193ef77b454cbab /config/hypr/UserScripts
parent4a912ec3456fff7da90df46565a732ecfca4ab3b (diff)
parent67231a1ea44af8a2ce3125df2021987df6074713 (diff)
Merge pull request #325 from JaKooLit/development
Development to main
Diffstat (limited to 'config/hypr/UserScripts')
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperEffects.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh
index 7d6cf15b..84f8fd7b 100755
--- a/config/hypr/UserScripts/WallpaperEffects.sh
+++ b/config/hypr/UserScripts/WallpaperEffects.sh
@@ -29,6 +29,13 @@ declare -A effects=(
["Sepia Tone"]="magick $current_wallpaper -sepia-tone 65% $wallpaper_output"
["Negate"]="magick $current_wallpaper -negate $wallpaper_output"
["Charcoal"]="magick $current_wallpaper -charcoal 0x5 $wallpaper_output"
+["Edge Detect"]="magick $current_wallpaper -edge 1 $wallpaper_output"
+["Emboss"]="magick $current_wallpaper -emboss 0x5 $wallpaper_output"
+["Sharpen"]="magick $current_wallpaper -sharpen 0x5 $wallpaper_output"
+["Oil Paint"]="magick $current_wallpaper -paint 4 $wallpaper_output"
+["Vignette"]="magick $current_wallpaper -vignette 0x5 $wallpaper_output"
+["Posterize"]="magick $current_wallpaper -posterize 4 $wallpaper_output"
+["Polaroid"]="magick $current_wallpaper -polaroid 0 $wallpaper_output"
["No Effects"]="no-effects"
)
@@ -52,10 +59,10 @@ no_effects() {
# Function to run rofi menu
main() {
# Populate rofi menu options
- options="No Effects\n"
+ options="No Effects"
for effect in "${!effects[@]}"; do
if [ "$effect" != "No Effects" ]; then
- options+="$effect\n"
+ options+="\n$effect"
fi
done
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage