Skip to content

Customizing Config File

xShin edited this page Feb 26, 2022 · 25 revisions

The awesomeshot config file contains a variable which gives you total freedom over customizing how image is edited.

Table of Contents

Config File Location

The awesomeshot config file is $HOME/.config/awesomeshot/awesomeshot.conf and awesomeshot will generate default config on first run.

NOTE: Awesomeshot will not replace the config file if already exists, if you want back to default config you can regenerate with argument -c or --config, it will ask Do you want to generate default config [y/N] if config already exists.

awesomeshot -c

Screenshot Result PATH

NOTE: Make sure when your phone take screenshot the result file image PATH is same with this variable. Default my phone screenshot result image PATH on /sdcard/Pictures/Screenshots. If not same, edit this variable value

You can check you default screenshot PATH by:

  1. Take Screenshot
  2. Go to Gallery
  3. Select album Screenshot
  4. Select the last image
  5. Click menu detail info

-210714_temp

Backup Screenshot File

This variable is option for backup screenshot image file, you can enable or disable backup image with edit the value of variable (default value is yes)

backup

Backup PATH

This variable is location backup file original photo or screenshot (default value is ${HOME}/.config/awesomeshot/backup

path_backup

Convert

This variable is option for imagemagick execute

Rounded Corner

This variable handle border-radius of image. you can edit rounded size by editing this variable

Screenshot_2022-02-24_20-42-44

Default rounded size is 15

border_radius

Border

This variable handle background image color

Border Color

NOTE: This variable value using Hex Color (Default value #F8F9FA white color)

border_color

For example I change the Hex Color to Blue Sky #A8D7FE

image

Border Size

This variable handle of border background size (Default border-size 70)

border_size

For example I change the value to lower, it will give minimize background size

image

Shadow

This variable handle shadow color between image and border (background) color

Shadow Color

NOTE: This value variable same with border-color. Yup! using Hex Color (Default value #000000 black color)

shadow

For example I change the Hex Color to Blue

image

Shadow Size

This variable handle shadow stroke

Footer

This variable handle watermark image

Footer Text

This value display text or watermark on the image

Default value :  Shot by Awesomeshot

image

Footer Position

This variable is to define the position value on the footer, the value contain 8 wind direction.

  • NorthWest
  • North
  • NortEast
  • West
  • Center
  • East
  • SouthWest
  • South
  • SouthEast

Default value South

Footer XY

This variable serves to set the position of X and Y

The first value to define X and the second value to define Y Default value +0+45

Footer Font

This variable is define font.

You can check list font by command magick convert -list font | grep -iE 'font:.*'

Default value is JetBrains-Mono-Medium-Nerd-Font-Complete

image

Footer Font Size

This variable set font weight

Default value is 30

Footer Foreground

This variable set foreground color font

Default value is #000000

Footer Background

This variable set background color font

Default value is none

Convert File Screenshot to PNG

ImageMagick requires a PNG file type to be able to convert, make sure if your default screenshot is not PNG you have to enable this variable

Default value is yes

Open Image After Image Edited

awesomeshot will open the image after convert using imagemagick with Termux:API command termux-open

Default value is yes

Clone this wiki locally