From bc337195684eaeae2404a0aa5d2a533e89ea14da Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani <3fb650a9-b47e-4604-a282-1dd91953b2ee@anonaddy.me> Date: Mon, 26 Oct 2020 11:53:01 -0400 Subject: [PATCH] clarified creating a charfile --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d6b6699..b0f81dc 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,13 @@ Once you have started the program, simply type the shortcut listed on the left s Some of the default charfiles have hidden shortcuts for capital letters that are not shown on the table. Simply type a capital version of the shortcut key to access the capital version of the special character. ## Creating a charfile -Make a new file in the `~/.local/share/charsel/charfiles/` or `/usr/share/charsel/charfiles/` directories with the name that you would like to use to call the charfile in the command. +Make a new file in `~/.local/share/charsel/charfiles/` or `/usr/share/charsel/charfiles/` with the name that you would like to use to call the charfile in the command. -Fill it in, using the provided examples as a template. Hidden shortcuts go above the '-', lines can be commented out using a '#' at the start of the line. ';' cannot be used as a shortcode, as that is used to quit the program +Fill in your shortcodes, using the provided examples in `/usr/share/charsel/charfiles` as a template. There are just 4 rules to follow. + 1. The pattern is "shortcode,output" + 2. Hidden shortcuts go above the line with '---' + 3. Lines can be commented out using a '#' at the start + 4. ";" cannot be used as a shortcode, as that is used to quit the program ## License Charfile is GNU GPLv3 licensed, see COPYING for more information -- 2.39.2