1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 06:37:46 +00:00

Merge pull request #67 from kubouch/fehbg-fix

Fix unexpected token error
This commit is contained in:
Darren Schroeder 2021-06-22 16:55:07 -05:00 committed by GitHub
commit cc103b8d70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ let img_name = (list_images $img_dir | select_random | get name)
# Resize the image to the monitor height, draw the caption and save it
let res_str = (build-string 'x' $resolution_y)
convert -resize $res_str -pointsize 15 -fill "rgb(255,200,150)" -draw (draw_str $img_name) $img_name $tmp_image
convert -resize $res_str -pointsize 15 -fill "rgb\(255,200,150\)" -draw (draw_str $img_name) $img_name $tmp_image
# Set the created image as a background
feh --no-fehbg --bg-max $tmp_image