diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2024-06-03 21:28:42 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-03 21:28:42 +0900 |
| commit | 6490171750e89a49e3f84398ea77079b0b079b53 (patch) | |
| tree | 23838daa93b688a991f8358ec193ef77b454cbab /config | |
| parent | 4a912ec3456fff7da90df46565a732ecfca4ab3b (diff) | |
| parent | 67231a1ea44af8a2ce3125df2021987df6074713 (diff) | |
Merge pull request #325 from JaKooLit/development
Development to main
Diffstat (limited to 'config')
| -rwxr-xr-x | config/hypr/UserScripts/WallpaperEffects.sh | 11 | ||||
| -rw-r--r-- | config/rofi/config-wallpaper-effect.rasi | 6 |
2 files changed, 12 insertions, 5 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 diff --git a/config/rofi/config-wallpaper-effect.rasi b/config/rofi/config-wallpaper-effect.rasi index 0a91915c..bd5948c9 100644 --- a/config/rofi/config-wallpaper-effect.rasi +++ b/config/rofi/config-wallpaper-effect.rasi @@ -1,7 +1,7 @@ /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ /* Wallpaper Effects */ -@import "~/.config/rofi/config-compact.rasi" +@import "~/.config/rofi/config.rasi" /* ---- Entry ---- */ entry { @@ -17,8 +17,8 @@ window { /* ---- Listview ---- */ listview { fixed-columns: false; - colums: 1; - lines: 5; + colums: 2; + lines: 7; } /* ---- Inputbar ---- */ |
