From 70ede2f318ead2b7aadbf83b9f007ab1f5e29089 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Thu, 20 May 2021 14:37:22 +0200 Subject: [PATCH] drawgrid upd --- bin/drawgrid | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/drawgrid b/bin/drawgrid index 9b251ee..cc489d5 100755 --- a/bin/drawgrid +++ b/bin/drawgrid @@ -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