drawgrid upd
parent
231c94abb1
commit
70ede2f318
|
@ -24,11 +24,13 @@ rectangles=""
|
|||
rectangles+="rectangle $((tile*TILE_WIDTH)),$((row*TILE_HEIGHT)) $((tile*TILE_WIDTH+TILE_WIDTH)),$((row*TILE_HEIGHT+TILE_HEIGHT)) ";
|
||||
done
|
||||
done
|
||||
text="text $((4)),$((26)) \"Hello I'm here to help you get familiar with DrawGrid ;)\nGrid: $GRID_X rows, $GRID_Y columns\nSingle tile size: $TILE_WIDTH x $TILE_HEIGHT\n\nUse mousewheel on taskbar to show/hide me\nTo close me: middle click on taskbar or click here, then hit q key\""
|
||||
name="text 4,66 DeskGrid"
|
||||
text="text 16,96 \"Hello I'm here to help you get familiar with DeskGrid ;)\nGrid: $GRID_X rows, $GRID_Y columns\nSingle tile size: $TILE_WIDTH x $TILE_HEIGHT\n\nUse mousewheel on taskbar to show/hide me\nTo close: middle click on taskbar or click here, then hit q key\""
|
||||
magick -size $AVAILSIZE xc:LavenderBlush3 -stroke LavenderBlush2 -strokewidth 1 \
|
||||
-fill LavenderBlush3 \
|
||||
-draw "$rectangles" \
|
||||
-style Normal +stroke -pointsize 14 -fill gray16 -draw "$text" \
|
||||
-style Normal -weight Bold +stroke -pointsize 64 -fill orange3 -draw "$name" \
|
||||
/tmp/grid.png
|
||||
feh -N -x -g "$AVAILSIZE" --title "DrawGrid helper" /tmp/grid.png > /dev/null 2>&1 &
|
||||
sleep 1
|
||||
|
|
Loading…
Reference in New Issue