Browse Source

updated wallpaper effects

pull/325/head
JaKooLit 2 years ago
parent
commit
7debb1a722
  1. 13
      config/hypr/UserScripts/WallpaperEffects.sh
  2. 6
      config/rofi/config-wallpaper-effect.rasi

13
config/hypr/UserScripts/WallpaperEffects.sh

@ -23,12 +23,19 @@ SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration
# https://imagemagick.org/script/magick.php
declare -A effects=(
["Black & White"]="magick $current_wallpaper -set colorspace Gray -separate -average $wallpaper_output"
["Blurred"]="magick $current_wallpaper -blur "20x30" $wallpaper_output"
["Black & White"]="magick $current_wallpaper -colorspace gray -sigmoidal-contrast 10,40% $wallpaper_output"
["Blurred"]="magick $current_wallpaper -blur 0x5 $wallpaper_output"
["Solarize"]="magick $current_wallpaper -solarize 80% $wallpaper_output"
["Sepia Tone"]="magick $current_wallpaper -sepia-tone 65% $wallpaper_output"
["Negate"]="magick $current_wallpaper -negate $wallpaper_output"
["Charcoal"]="magick $current_wallpaper -charcoal "10x10" $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"
)

6
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 ---- */

Loading…
Cancel
Save