colors generations based on wallpaper

This commit is contained in:
2024-12-25 20:51:20 +01:00
parent d9177984de
commit b8eb109cdd
19 changed files with 552 additions and 67 deletions

View File

@@ -0,0 +1,8 @@
swww img --transition-duration 1 --transition-type grow --transition-fps 60 --transition-pos 0.5,0.9 $1
if [ -z $2 ]; then
matugen image $1 -m dark
else
matugen image $1 -m $2
fi
sed -i "s_\~.*--transition-duration_$1 --transition-duration_" ~/.config/hypr/lastWallpaper.conf
sed -i "s_/\w*/\w*_\~_" ~/.config/hypr/lastWallpaper.conf