1
1
mirror of https://github.com/Yvee1/hascard.git synced 2024-11-29 09:34:20 +03:00
hascard/recordings/definition-big.yml
2020-07-18 17:38:57 +02:00

117 lines
7.2 KiB
YAML

# The configurations that used for the recording, feel free to edit them
config:
# Specify a command to be executed
# like `/bin/bash -l`, `ls`, or any other commands
# the default is bash for Linux
# or powershell.exe for Windows
command: zsh
# Specify the current working directory path
# the default is the current working directory path
cwd: /home/steven
# Export additional ENV variables
env:
recording: true
# Explicitly set the number of columns
# or use `auto` to take the current
# number of columns of your shell
cols: 112
# Explicitly set the number of rows
# or use `auto` to take the current
# number of rows of your shell
rows: 29
# Amount of times to repeat GIF
# If value is -1, play once
# If value is 0, loop indefinitely
# If value is a positive number, loop n times
repeat: 0
# Quality
# 1 - 100
quality: 100
# Delay between frames in ms
# If the value is `auto` use the actual recording delays
frameDelay: auto
# Maximum delay between frames in ms
# Ignored if the `frameDelay` isn't set to `auto`
# Set to `auto` to prevent limiting the max idle time
maxIdleTime: 2000
# The surrounding frame box
# The `type` can be null, window, floating, or solid`
# To hide the title use the value null
# Don't forget to add a backgroundColor style with a null as type
frameBox:
type: solid
title: null
style:
border: 0px black solid
# boxShadow: none
# margin: 0px
# Add a watermark image to the rendered gif
# You need to specify an absolute path for
# the image on your machine or a URL, and you can also
# add your own CSS styles
watermark:
imagePath: null
style:
position: absolute
right: 15px
bottom: 15px
width: 100px
opacity: 0.9
# Cursor style can be one of
# `block`, `underline`, or `bar`
cursorStyle: bar
# Font family
# You can use any font that is installed on your machine
# in CSS-like syntax
fontFamily: "Iosevka"
# The size of the font
fontSize: 24
# The height of lines
lineHeight: 0.98
# The spacing between letters
letterSpacing: 0
# Theme
theme:
background: "transparent"
foreground: "#afafaf"
cursor: "#c7c7c7"
black: "#232628"
red: "#fc4384"
green: "#b3e33b"
yellow: "#ffa727"
blue: "#75dff2"
magenta: "#ae89fe"
cyan: "#708387"
white: "#d5d5d0"
brightBlack: "#626566"
brightRed: "#ff7fac"
brightGreen: "#c8ed71"
brightYellow: "#ebdf86"
brightBlue: "#75dff2"
brightMagenta: "#ae89fe"
brightCyan: "#b1c6ca"
brightWhite: "#f9f9f4"
# Records, feel free to edit them
records:
- delay: 2000
content: "\e[?25l\e[1;1H\e(B\e[m \e[2;1H\e(B\e[m \e[3;1H\e(B\e[m \e[4;1H\e(B\e[m \e[5;1H\e(B\e[m \e[6;1H\e(B\e[m \e[7;1H\e(B\e[m \e[8;1H\e(B\e[m \e[9;1H\e(B\e[m \e[10;1H\e(B\e[m \e[11;1H\e(B\e[m ╭──────────────────────────────────────────────────────────────────╮ \e[12;1H\e(B\e[m │\e[33m Word or question \e(B\e[m│ \e[13;1H\e(B\e[m ├──────────────────────────────────────────────────────────────────┤ \e[14;1H\e(B\e[m │ │ \e[15;1H\e(B\e[m │ │ \e[16;1H\e(B\e[m │ │ \e[17;1H\e(B\e[m │ 1/4 │ \e[18;1H\e(B\e[m ╰──────────────────────────────────────────────────────────────────╯ \e[19;1H\e(B\e[m \e[20;1H\e(B\e[m \e[21;1H\e(B\e[m \e[22;1H\e(B\e[m \e[23;1H\e(B\e[m \e[24;1H\e(B\e[m \e[25;1H\e(B\e[m \e[26;1H\e(B\e[m \e[27;1H\e(B\e[m \e[28;1H\e(B\e[m \e[29;1H\e(B\e[m "
- delay: 2000
content: "\e[?25l\e[14;1H\e(B\e[m │ Explanation or definition of this word, or the answer to the │ \e[15;1H\e(B\e[m │ question. │ \e[16;1H\e(B\e[m │ │ "