feat: scale wallpaper
This commit is contained in:
parent
9d7c5847b2
commit
fa55dfa704
3
generate-theme.sh
Executable file → Normal file
3
generate-theme.sh
Executable file → Normal file
@ -26,7 +26,8 @@ prepare() {
|
||||
|
||||
# Copy wallpaper so it can be used in theme
|
||||
background_image="images/theme_ntp_background_norepeat.png"
|
||||
cp "$wallpaper" "$THEME_DIR/$background_image"
|
||||
#cp "$wallpaper" "$THEME_DIR/$background_image"
|
||||
ffmpeg -i "$wallpaper" -vf "scale='if(gt(a,1920/1080),-1,1920)':'if(gt(a,1920/1080),1080,-1)',gblur=sigma=20" "$THEME_DIR/$background_image"
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user