]> git.armaanb.net Git - charsel.git/blob - README.md
03f2646c7e38fb4209b8e686d880d55b013c7808
[charsel.git] / README.md
1 # CHARSEL
2 A very simple shell script to make copying frequently used special characters to your clipboard easy.
3
4 It uses a plain-text file known as a "charfile" to define shortcuts to special characters that are easy to access on the keyboard.
5
6 ## Installation
7 Running the INSTALL.sh script should work fine for most people.
8
9 If it is run as root or with sudo, the program and charfiles will be installed for all users. If it is run without elevated privileges, it will just be installed for the local user.
10
11 ## Dependencies
12   * Posix shell  
13   * util-linux  
14   * xclip  
15   * A terminal with UTF-8 encoding enabled  
16
17 ## USAGE
18 To start the program, run `charsel <charfile>`
19 This will start the program with the specified charfile. There are a few installed by default, to see them, use `charsel list`.
20
21 Once you have started the program, simply type the shortcut listed on the left side of the table to copy the character on the right side of the table to your clipboard. If the charfile you used has multi-character shortcut keys, then you must hit enter after using a single letter shortcut. If the only shortcuts are single-letter, however, you can simply type the shortcut without clicking enter.
22
23 The default charfiles all 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.
24
25 ## CREATING A CHARFILE
26 Make a new file in `~/.local/share/charsel/` or `/usr/share/charsel` with the name that you would like to use to call the charfile in the command.
27
28 Fill it in, using the provided examples as a template. Hidden shortcuts go above the '---'
29
30 ## LICENSE
31 charfile is GPLv3 licensed, see COPYING for more information
32  
33 charfile is written by [Armaan Bhojwani](https://armaan.bhojwani.org), [Email](mailto:3fb650a9-b47e-4604-a282-1dd91953b2ee@anonaddy.me)