Skip to content

Commit

Permalink
awesomeshot
Browse files Browse the repository at this point in the history
  • Loading branch information
nihsx committed Oct 18, 2021
1 parent f95c501 commit aee4638
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .local/bin/awesomeshot
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ SHADOW_COLOR_LIGHT="#FFFFFF"
### Border
BORDER_COLOR=""
BORDER_COLOR_DARK="#373E4D"
BORDER_COLOR_LIGHT="#ABB2BF"
BORDER_COLOR_LIGHT="#A8D7FE"
BORDER_ROUNDED=15

### Footer
FOOTER_FOREGROUND_COLOR=""
Expand Down Expand Up @@ -96,7 +97,7 @@ function magickrounded() {
\( \
+clone \
-alpha extract -draw \
'fill black polygon 0,0 0,10 10,0 fill white circle 10,10 10,0' \
"fill black polygon 0,0 0,${BORDER_ROUNDED} ${BORDER_ROUNDED},0 fill white circle ${BORDER_ROUNDED},${BORDER_ROUNDED} ${BORDER_ROUNDED},0" \
\( +clone -flip \) \
-compose Multiply -composite \
\( +clone -flop \) \
Expand Down

0 comments on commit aee4638

Please sign in to comment.