mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37:46 +00:00
Fix syntax error & update fehbg script (#89)
This commit is contained in:
parent
c1481973ca
commit
7df927be3d
1 changed files with 2 additions and 2 deletions
4
fehbg.nu
4
fehbg.nu
|
@ -20,7 +20,7 @@
|
|||
# xinitrc.
|
||||
#
|
||||
# Dependencies;
|
||||
# * nu version >=0.32.0 (requires new syntax introduced in 0.32.0)
|
||||
# * nu version >=0.32.0 (tested on 0.36.0)
|
||||
# * feh
|
||||
# * imagemagick
|
||||
|
||||
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue