from pathlib import Path

""" Hotkeys """
SHORTCUT = 'ctrl+q'
KILL_SHORTCUT = 'alt+shift+k'

""" Emote Picker """
NUM_COLS = 12  # max number of images per row in picker
NUM_FREQUENT = 12  # max number of images to show in the frequent section
SHOW_LABELS = True  # show section labels (frequents, static, gifs)
SEPARATE_GIFS = True  # separate static emojis and gifs into different sections
WINDOW_LOCATION = (100, 100)  # initial position of GUI (before dragging)
GUI_BG_COLOR = '#36393F'  # background color (copied from discord colors)

""" Functionality """
AUTO_PASTE = True  # automatically paste the image after selection
AUTO_ENTER = True  # hit enter after pasting (useful in Discord)

""" Image Resizer """
RESIZE_GIFS = False  # requires `gifsicle`

""" Images """
MAIN_PATH = Path(__file__).parent  # directory with pingmote.py
IMAGE_PATH = MAIN_PATH / 'assets' / 'resized'  # resized emotes
# If you've forked the repo and have uploaded your own custom emotes, GitHub raw links can be used instead of postimages or something else
# To use PostImages or another image hoster and links.txt, use `GITHUB_URL = None`
GITHUB_URL = 'https://github.com/dchen327/pingmote/'

""" Experimental """
SHOW_FREQUENTS = True  # show frequents section (disabling removes hide button)
SLEEP_TIME = 0  # add delay if pasting/enter not working
PRESERVE_CLIPBOARD = False  # avoids copying link to clipboard (unreliable)
CUSTOM_HOTKEY_HANDLER = True  # workaround for alt+tab issues and broken scan codes

from pathlib import Path

""" Hotkeys """
SHORTCUT = 'ctrl+q'
KILL_SHORTCUT = 'alt+shift+k'

""" Emote Picker """
NUM_COLS = 12  # max number of images per row in picker
NUM_FREQUENT = 12  # max number of images to show in the frequent section
SHOW_LABELS = True  # show section labels (frequents, static, gifs)
SEPARATE_GIFS = True  # separate static emojis and gifs into different sections
WINDOW_LOCATION = (100, 100)  # initial position of GUI (before dragging)
GUI_BG_COLOR = '#36393F'  # background color (copied from discord colors)

""" Functionality """
AUTO_PASTE = True  # automatically paste the image after selection
AUTO_ENTER = True  # hit enter after pasting (useful in Discord)

""" Image Resizer """
RESIZE_GIFS = False  # requires `gifsicle`

""" Images """
MAIN_PATH = Path(__file__).parent  # directory with pingmote.py
IMAGE_PATH = MAIN_PATH / 'assets' / 'resized'  # resized emotes
# If you've forked the repo and have uploaded your own custom emotes, GitHub raw links can be used instead of postimages or something else
# To use PostImages or another image hoster and links.txt, use `GITHUB_URL = None`
GITHUB_URL = 'https://github.com/dchen327/pingmote/'

""" Experimental """
SHOW_FREQUENTS = True  # show frequents section (disabling removes hide button)
SLEEP_TIME = 0  # add delay if pasting/enter not working
PRESERVE_CLIPBOARD = False  # avoids copying link to clipboard (unreliable)
CUSTOM_HOTKEY_HANDLER = True  # workaround for alt+tab issues and broken scan codes

Hotkeys Emote Picker # max number of images per row in picker # max number of images to show in the frequent section # show section labels (frequents, static, gifs) # separate static emojis and gifs into different sections # initial position of GUI (before dragging) # background color (copied from discord colors) Functionality # automatically paste the image after selection # hit enter after pasting (useful in Discord) Image Resizer # requires `gifsicle` Images # directory with pingmote.py # resized emotes # If you've forked the repo and have uploaded your own custom emotes, GitHub raw links can be used instead of postimages or something else # To use PostImages or another image hoster and links.txt, use `GITHUB_URL = None` Experimental # show frequents section (disabling removes hide button) # add delay if pasting/enter not working # avoids copying link to clipboard (unreliable) # workaround for alt+tab issues and broken scan codes