Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show your custom config or script in awesomeshot #4

Open
nihsx opened this issue Feb 26, 2022 · 5 comments
Open

Show your custom config or script in awesomeshot #4

nihsx opened this issue Feb 26, 2022 · 5 comments

Comments

@nihsx
Copy link
Collaborator

nihsx commented Feb 26, 2022

This issue is created for posting or sharing the configs and screenshots for a custom config or script of Awesomeshot. This issue is open for everyone to upload their stuff.

@Awesomesh0t Awesomesh0t deleted a comment from KHALID-404 Jun 14, 2022
@Awesomesh0t Awesomesh0t deleted a comment from KHALID-404 Jul 1, 2022
@armandwipangestu
Copy link
Member

armandwipangestu commented Jul 27, 2022

Default config alternative

Screenshot_20220728_015244

Config

# Make sure when your phone screenshot the result file image
# PATH is same with this variable. Default my phone result file
# image PATH on "/sdcard/DCIM/Screenshots". If not same,
# you can edit this variable value
screenshot_result_path="/sdcard/Pictures/ScreenMaster"
#screenshot_result_path="/sdcard/DCIM/Screenshots"

# This variable serves to set the convert image with file type non PNG, change this value
# to blank or whatever for disable function and "yes" for enable function.
# Convert to PNG if file not PNG
convert_to_png="yes"

# This variable serves to function to backup original photo
# (screenshot result), change this value to blank or whatever for disable 
# function and "yes" for enable function
backup="yes"

# This variable serves to set the original photo backup PATH
path_backup="/sdcard/DCIM/awesomeshot"

# Array Hex Color
hex_color=(
  "#F8F9FA" # white
  "#000000" # black
  "#282C34" # black-gray
  "#333333" # gray
  "#A8D7FE" # blue sky
  "#6D6B70" # another gray
  "#726A7B" # slate gray
)

# This variable serves to convert title bar when editing the image, change this value
# to blank or whatever for disable convert and "yes" for enable function
convert_titlebar="yes"

# This variable serves to set where the title bar place, if "yes" the title bar add on image,
# if blank or whatever the title bar will be added at out of image
add_on_img=""

# This variable serves to set the width and height size of title bar.
# NOTE (Bug Found):
# - Sometimes the title bar result is too big or too small
#
# width_img=$(magick ${file_name} - format "%w" info:)
# height_img=$(magick ${file_name} - format "%h" info:)
# if (( ${width_img} > ${height_img} )); then
#   height_img=${width_img}
# elif (( ${width_img} < ${height_img} )); then
#   width_img=${height_img}
# fi
width_img=500
height_img=1000

# This variable serves to set titlebar color, if you want to custom the color, you can
# change this value with hex color or use the one in the array list.
titlebar_color="${hex_color[2]}"

# This variable serves to convert the titlebar text, change this value
# to blank or whatever for disable function and "yes" for enable function.
convert_titlebar_text="yes"

# This variable serves to set titlebar text, if you want to use icon
# you can search on Nerd Fonts Website (https://www.nerdfonts.com/cheat-sheet)
# NOTE: if you use icon from Nerd Fonts, make sure "titlebar_text_font" using nerd fonts to!
titlebar_text="גּ awesomeshot"

# This variable serves to set text position of titlebar text, the value contain 8 wind direction:
# - NorthWest
# - North
# - West
# - Center
# - East
# - SouthWest
# - South
# - SouthEast
# NOTE: Default value is "North"
titlebar_text_position="north"

# This variable serves to set font size
titlebar_text_size="27"

# This variable serves to set the text color, if you want to custom the color, you can
# change this value with hex color or use the one in the array list.
titlebar_text_color="${hex_color[6]}"

# This variable serves to set titlebar text background color (background text), change this value
# to "none" for transparent background, if you want to custom the color, you can
# change this value with hex color or use the one in the array list.
titlebar_text_background="none"

# This variable serves to set the font used when converting, you can check the list font
# available to use for ImageMagick by command: 
# - magick convert -list font | grep -iE 'font:.*'
#titlebar_text_font="JetBrains-Mono-Medium-Nerd-Font-Complete"
titlebar_text_font="Fira-Code-Medium-Nerd-Font-Complete-Mono"

# This variable serves to set position of "X" and "Y" titlebar text
titlebar_text_xy="+0+15"

# This variable serves to convert rounded corner, change this value
# to blank or whatever for disable convert and "yes" for enable function
convert_rounded="yes"

# This variable serves to set how many rounded corners
border_radius=20

# This variable serves to convert tiny first border (background image) when editing the image,
# change this value to blank or whatever for disable convert and "yes" for enable function
convert_first_border="yes"

# This variable serves to set tiny first border color (background image), change this value
# to "none" for transparent background, if you want to custom the color, you can
# change this value with hex color or use the one in the array list.
first_border_color="${hex_color[5]}"

# This variable serves to set how many size of the first border
# NOTE: make sure this value is small, otherwise it will look weird
first_border_size=3

# This variable serves to convert border (background image) when editing the image,
# change this value to blank or whatever for disable convert and "yes" for enable function
convert_second_border="yes"

# This variable serves to set border color (background image), change this value
# to "none" for transparent background, if you want to custom the color, you can
# change this value with hex color or use the one in the array list.
# NOTE: if convert_second_border enable and second_border_color value not none
#       will be conflict
#second_border_color="${hex_color[0]}"
second_border_color="none"

# This variable serves to set how many size of the second border
second_border_size=50

# This variable serves to convert border with gradient color,
# change this value to blank or whatever for disable convert and "yes" for enable function
convert_second_border_gradient="yes"

# This variable serves to convert gradient color method
# More information: https://legacy.imagemagick.org/Usage/misc/
# List available method:
# - saddle
# - mesh
interpolate_method="mesh"

second_border_gradient_color=(
  "#C850C0"
  "#FFCC70"
  "#4158D0"
  "#FE7FAA"
)

saddle_color_top_left="${second_border_gradient_color[0]}"
saddle_color_top_right="${second_border_gradient_color[1]}"
saddle_color_bottom_left="${second_border_gradient_color[2]}"
saddle_color_bottom_right="${second_border_gradient_color[0]}"

mesh_color_top_left="${second_border_gradient_color[1]}"
mesh_color_top_right="${second_border_gradient_color[1]}"
mesh_color_bottom_left="${second_border_gradient_color[3]}"
mesh_color_bottom_right="${second_border_gradient_color[3]}"

# This variable serves to convert the shadow of image, change this value
# to blank or whatever for disable function and "yes" for enable function.
convert_shadow="yes"

# This variable serves to set shadow color, if you want to custom the color, you can
# change this value with hex color or use the one in the array list.
shadow_color="${hex_color[1]}"

# This variable serves to set shadow size, this variable has four values:
# shadow_size="75x30+0+30"
# that mean:
# - bottom shadow is x75
# - right shadow is +30
# - top shadow is +0
# - left shadow is +30
shadow_size="75x30+0+30"

# This variable serves to convert the footer text, change this value
# to blank or whatever for disable function and "yes" for enable function.
convert_footer=""

# This variable serves to set text of footer, if you want to use icon
# you can search on Nerd Fonts Website (https://www.nerdfonts.com/cheat-sheet)
# NOTE: if you use icon from Nerd Fonts, make sure "footer_font" using nerd fonts to!
footer_text=" Shot by Awesomeshot"

# This variable serves to set text position of footer, the value contain 8 wind direction:
# - NorthWest
# - North
# - West
# - Center
# - East
# - SouthWest
# - South
# - SouthEast
# NOTE: Default value is "South"
footer_position="South"

# This variable serves to set position of "X" and "Y"
footer_xy="+0+45"

# This variable serves to set the font used when converting, you can check the list font
# available to use for ImageMagick by command: 
# - magick convert -list font | grep -iE 'font:.*'
footer_font="JetBrains-Mono-Medium-Nerd-Font-Complete"

# This variable serves to set font size
footer_font_size=25

# This variable serves to set the text color, if you want to custom the color, you can
# change this value with hex color or use the one in the array list.
footer_foreground="${hex_color[1]}"

# This variable serves to set footer background color (background text), change this value
# to "none" for transparent background, if you want to custom the color, you can
# change this value with hex color or use the one in the array list.
footer_background="none"

# This variable serves to open the result of image (when editing finished), change this value
# to blank or whatever for disable function and "yes" for enable function.
open_image=""

or

Screenshot_20220728_021943

# Make sure when your phone screenshot the result file image
# PATH is same with this variable. Default my phone result file
# image PATH on "/sdcard/DCIM/Screenshots". If not same,
# you can edit this variable value
screenshot_result_path="/sdcard/Pictures/ScreenMaster"
#screenshot_result_path="/sdcard/DCIM/Screenshots"

# This variable serves to set the convert image with file type non PNG, change this value
# to blank or whatever for disable function and "yes" for enable function.
# Convert to PNG if file not PNG
convert_to_png="yes"

# This variable serves to function to backup original photo
# (screenshot result), change this value to blank or whatever for disable 
# function and "yes" for enable function
backup="yes"

# This variable serves to set the original photo backup PATH
path_backup="/sdcard/DCIM/awesomeshot"

# Array Hex Color
hex_color=(
  "#F8F9FA" # white
  "#000000" # black
  "#282C34" # black-gray
  "#333333" # gray
  "#A8D7FE" # blue sky
  "#6D6B70" # another gray
  "#726A7B" # slate gray
  "#A2AAAD"
)

# This variable serves to convert title bar when editing the image, change this value
# to blank or whatever for disable convert and "yes" for enable function
convert_titlebar="yes"

# This variable serves to set where the title bar place, if "yes" the title bar add on image,
# if blank or whatever the title bar will be added at out of image
add_on_img=""

# This variable serves to set the width and height size of title bar.
# NOTE (Bug Found):
# - Sometimes the title bar result is too big or too small
#
# width_img=$(magick ${file_name} - format "%w" info:)
# height_img=$(magick ${file_name} - format "%h" info:)
# if (( ${width_img} > ${height_img} )); then
#   height_img=${width_img}
# elif (( ${width_img} < ${height_img} )); then
#   width_img=${height_img}
# fi
width_img=500
height_img=1000

# This variable serves to set titlebar color, if you want to custom the color, you can
# change this value with hex color or use the one in the array list.
titlebar_color="${hex_color[2]}"

# This variable serves to convert the titlebar text, change this value
# to blank or whatever for disable function and "yes" for enable function.
convert_titlebar_text="yes"

# This variable serves to set titlebar text, if you want to use icon
# you can search on Nerd Fonts Website (https://www.nerdfonts.com/cheat-sheet)
# NOTE: if you use icon from Nerd Fonts, make sure "titlebar_text_font" using nerd fonts to!
#titlebar_text="גּ awesomeshot"
titlebar_text="Awesomeshot"

# This variable serves to set text position of titlebar text, the value contain 8 wind direction:
# - NorthWest
# - North
# - West
# - Center
# - East
# - SouthWest
# - South
# - SouthEast
# NOTE: Default value is "North"
titlebar_text_position="north"

# This variable serves to set font size
titlebar_text_size="30"

# This variable serves to set the text color, if you want to custom the color, you can
# change this value with hex color or use the one in the array list.
titlebar_text_color="${hex_color[5]}"

# This variable serves to set titlebar text background color (background text), change this value
# to "none" for transparent background, if you want to custom the color, you can
# change this value with hex color or use the one in the array list.
titlebar_text_background="none"

# This variable serves to set the font used when converting, you can check the list font
# available to use for ImageMagick by command: 
# - magick convert -list font | grep -iE 'font:.*'
#titlebar_text_font="JetBrains-Mono-Medium-Nerd-Font-Complete"
#titlebar_text_font="Fira-Code-Medium-Nerd-Font-Complete-Mono"
titlebar_text_font="Falling-Sky"

# This variable serves to set position of "X" and "Y" titlebar text
titlebar_text_xy="+0+7"

# This variable serves to convert rounded corner, change this value
# to blank or whatever for disable convert and "yes" for enable function
convert_rounded="yes"

# This variable serves to set how many rounded corners
border_radius=20

# This variable serves to convert tiny first border (background image) when editing the image,
# change this value to blank or whatever for disable convert and "yes" for enable function
convert_first_border="yes"

# This variable serves to set tiny first border color (background image), change this value
# to "none" for transparent background, if you want to custom the color, you can
# change this value with hex color or use the one in the array list.
first_border_color="${hex_color[5]}"

# This variable serves to set how many size of the first border
# NOTE: make sure this value is small, otherwise it will look weird
first_border_size=3

# This variable serves to convert border (background image) when editing the image,
# change this value to blank or whatever for disable convert and "yes" for enable function
convert_second_border="yes"

# This variable serves to set border color (background image), change this value
# to "none" for transparent background, if you want to custom the color, you can
# change this value with hex color or use the one in the array list.
# NOTE: if convert_second_border enable and second_border_color value not none
#       will be conflict
second_border_color="${hex_color[0]}"
#second_border_color="none"

# This variable serves to set how many size of the second border
second_border_size=50

# This variable serves to convert border with gradient color,
# change this value to blank or whatever for disable convert and "yes" for enable function
convert_second_border_gradient=""

# This variable serves to convert gradient color method
# More information: https://legacy.imagemagick.org/Usage/misc/
# List available method:
# - saddle
# - mesh
interpolate_method="mesh"

second_border_gradient_color=(
  "#C850C0"
  "#FFCC70"
  "#4158D0"
  "#FE7FAA"
)

saddle_color_top_left="${second_border_gradient_color[0]}"
saddle_color_top_right="${second_border_gradient_color[1]}"
saddle_color_bottom_left="${second_border_gradient_color[2]}"
saddle_color_bottom_right="${second_border_gradient_color[0]}"

mesh_color_top_left="${second_border_gradient_color[1]}"
mesh_color_top_right="${second_border_gradient_color[1]}"
mesh_color_bottom_left="${second_border_gradient_color[3]}"
mesh_color_bottom_right="${second_border_gradient_color[3]}"

# This variable serves to convert the shadow of image, change this value
# to blank or whatever for disable function and "yes" for enable function.
convert_shadow="yes"

# This variable serves to set shadow color, if you want to custom the color, you can
# change this value with hex color or use the one in the array list.
shadow_color="${hex_color[1]}"

# This variable serves to set shadow size, this variable has four values:
# shadow_size="75x30+0+30"
# that mean:
# - bottom shadow is x75
# - right shadow is +30
# - top shadow is +0
# - left shadow is +30
shadow_size="75x30+0+30"

# This variable serves to convert the footer text, change this value
# to blank or whatever for disable function and "yes" for enable function.
convert_footer=""

# This variable serves to set text of footer, if you want to use icon
# you can search on Nerd Fonts Website (https://www.nerdfonts.com/cheat-sheet)
# NOTE: if you use icon from Nerd Fonts, make sure "footer_font" using nerd fonts to!
footer_text=" Shot by Awesomeshot"

# This variable serves to set text position of footer, the value contain 8 wind direction:
# - NorthWest
# - North
# - West
# - Center
# - East
# - SouthWest
# - South
# - SouthEast
# NOTE: Default value is "South"
footer_position="South"

# This variable serves to set position of "X" and "Y"
footer_xy="+0+45"

# This variable serves to set the font used when converting, you can check the list font
# available to use for ImageMagick by command: 
# - magick convert -list font | grep -iE 'font:.*'
footer_font="JetBrains-Mono-Medium-Nerd-Font-Complete"

# This variable serves to set font size
footer_font_size=25

# This variable serves to set the text color, if you want to custom the color, you can
# change this value with hex color or use the one in the array list.
footer_foreground="${hex_color[1]}"

# This variable serves to set footer background color (background text), change this value
# to "none" for transparent background, if you want to custom the color, you can
# change this value with hex color or use the one in the array list.
footer_background="none"

# This variable serves to open the result of image (when editing finished), change this value
# to blank or whatever for disable function and "yes" for enable function.
open_image=""

@armandwipangestu
Copy link
Member

armandwipangestu commented Oct 20, 2022

Titile Bar Altenative

Screenshot_20221020_102038

<<''
|--------------------------------------------------------------------------
| Section: ImageMagick Titlebar
|--------------------------------------------------------------------------
|
| In this section contains how titlebar will be create, such as:
|   - Add on image (titlebar will be added at out of image)
|   - Width & Height of titlebar
|   - Color of titlebar
|   - Text of titlebar
|   - Font of text
|   - Text size
|   - Text color
|   - Text background color
|   - Text position
|   - Font position (x, y)
|
'' 

convert_titlebar="yes"
add_on_img=""
width_titlebar=500
height_titlebar=1000
titlebar_color="${hex_color[2]}"
convert_titlebar_text="yes"
#titlebar_text="Awesomeshot"
titlebar_text=" arman -- awesomeshot -- גּ"
#titlebar_text_font="Falling-Sky"
titlebar_text_font="Fira-Code-Medium-Nerd-Font-Complete-Mono"
titlebar_text_size=25
titlebar_text_color="${hex_color[5]}"
titlebar_text_background="none"
titlebar_text_position="North"
#titlebar_text_xy="+0+7"
titlebar_text_xy="+0+13"

@techwiz37
Copy link

mau konsultasi nih, sosmednya pembuat mana. kuinbox email ga bales

@armandwipangestu
Copy link
Member

mau konsultasi nih, sosmednya pembuat mana. kuinbox email ga bales

Silahkan buat issue baru mengenai masalah nya

@yosafatreza
Copy link

tittle bar knp ga muncul ya

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants