Files
configs/bin/ltx
2024-09-03 17:42:50 +02:00

12 lines
255 B
Bash
Executable File

#!/usr/bin/env bash
# script to generate unicode from LaTeX code, and copy it into the
# clipboard
#
# needs unicodeit installed:
# > pip install unicodeit
CODE=$1
python -m unicodeit.cli $CODE
python -m unicodeit.cli $CODE | xclip -selection clipboard