Browse Source

emoji.txt 12.0 update, readme wording improvement.

master
Mathieu Laparie 1 year ago
parent
commit
f9d58014e9
3 changed files with 2003 additions and 1780 deletions
  1. 9
    7
      README.md
  2. 1993
    1772
      emojis.txt
  3. 1
    1
      rofiemoji.sh

+ 9
- 7
README.md View File

@@ -1,25 +1,27 @@
# rofiemoji-rofiunicode

Inspired by [fdw/rofimoji](https://github.com/fdw/rofimoji) and its script version [nkoehring/rofiemoji](https://github.com/nkoehring/rofiemoji), **rofiemoji-rofiunicode** is a fork of the latter that combines two scripts to search and copy emojis or unicode characters directly from [davatorium/rofi](https://github.com/davatorium/rofi). Unicode characters and emojis show up as separate tabs when rofi is invoked:
Inspired by [fdw/**rofimoji**](https://github.com/fdw/rofimoji) and forked from its script version [nkoehring/**rofiemoji**](https://github.com/nkoehring/rofiemoji), **rofiemoji-rofiunicode** is a character-picker that combines two scripts to search and copy emojis or unicode characters directly from [davatorium/**rofi**](https://github.com/davatorium/rofi).

It comes with an example configuration file and theme that should make it ready to use without user configuration. When using the recommended procedure, unicode and emoji lists show up as separate tabs when rofi is invoked:

![rofiemoji-rofiunicode1](https://github.com/Kabouik/rofiemoji-rofiunicode/blob/master/rofiemoji-rofiunicode1.png?raw=true)

![rofiemoji-rofiunicode2](https://github.com/Kabouik/rofiemoji-rofiunicode/blob/master/rofiemoji-rofiunicode2.png?raw=true)

`rofiemoji.sh` and `rofiunicode.sh` will try to download the lists of emoji and unicode characters when used the first time, unless the full repository has already been cloned using:
The two underlying scripts, `rofiemoji.sh` and `rofiunicode.sh`, will try to download the lists of emoji and unicode characters if they are missing, but this should already been taken care of when cloning this repository as follows:

```bash
cd ~/.config
cd ~/.config # Using this path is important for next steps
git clone https://github.com/Kabouik/rofiemoji-rofiunicode.git
```

The list of unicode characters was originally created by [/u/fe80c0ffee](https://www.reddit.com/r/unixporn/comments/7zqkov/oc_i_mad_a_rofi_emoji_picker_and_i_feel_bad_about/duqls53?utm_source=share&utm_medium=web2x).
The list of emojis is fetched from www.unicode.org while the unicode list was created by [/u/fe80c0ffee](https://www.reddit.com/r/unixporn/comments/7zqkov/oc_i_mad_a_rofi_emoji_picker_and_i_feel_bad_about/duqls53?utm_source=share&utm_medium=web2x).

## Prerequisites

* An emoji capable font, for example [Noto Emoji](https://www.google.com/get/noto/#emoji-zsye) or [Noto Color Emoji](https://www.google.com/get/noto/#emoji-zsye-color).
* `xsel` to copy the selection to the clipboard. You should find it in your package manager.
* `rofi` from [davatorium/rofi](https://github.com/davatorium/rofi) but probably available in your package manager as well.
* `rofi` from [davatorium/**rofi**](https://github.com/davatorium/rofi) but probably available in your package manager as well.

## Usage example
Add a custom keybinding using your window-manager settings for the following command:
@@ -30,7 +32,7 @@ rofi -show windowcd -theme-str '#window{width: 30%;}' # See the rofi documentati
Invoke rofi using your keybinding, navigate through tabs using `Ctrl+Tab` (default) and search emojis or unicode characters by keyword. Pressing `Return` will copy the highlighted character to the clipboard and close rofi.

## Recommended configuration
For rofi to look like the above screenshots, use the supplied `config` file and `sidetab-adapta.rasi` theme (originally taken from the [davatorium/rofi-themes](https://raw.githubusercontent.com/davatorium/rofi-themes/master/User%20Themes/sidetab-adapta.rasi) collection). This can be done simply by running the following commands:
For rofi to look like the above screenshots, use the supplied `config` file and `sidetab-adapta.rasi` theme (originally taken from the [davatorium/**rofi-themes**](https://raw.githubusercontent.com/davatorium/rofi-themes/master/User%20Themes/sidetab-adapta.rasi) collection). This can be done simply by running the following commands:

```bash
mv $HOME/.config/rofi/config $HOME/.config/rofi/config.back
@@ -44,6 +46,6 @@ The `config` file supplied here is customized to my own preferences and to the c

## Alternative

An alternative based on the original [rofimoji by fdw](https://github.com/fdw/rofimoji) instead of the [nkoehring/rofiemoji](https://github.com/nkoehring/rofiemoji) script version, but still with the addition of unicode characters from [/u/fe80c0ffee](https://www.reddit.com/r/unixporn/comments/7zqkov/oc_i_mad_a_rofi_emoji_picker_and_i_feel_bad_about/duqls53?utm_source=share&utm_medium=web2x), is [Kabouik/rofimoji](https://github.com/Kabouik/rofimoji). It allows multiple selection of emojis or unicode characters, as well as direct input without a clipboard step, but the customization possibilities are more limited and there is no visual unification with your main rofi instance.
[kabouik/**rofimoji**](https://github.com/Kabouik/rofimoji) is an alternative based on the original [fdw/**rofimoji**](https://github.com/fdw/rofimoji) instead of the [nkoehring/**rofiemoji**](https://github.com/nkoehring/rofiemoji) script version, but still with the addition of unicode characters from [/u/fe80c0ffee](https://www.reddit.com/r/unixporn/comments/7zqkov/oc_i_mad_a_rofi_emoji_picker_and_i_feel_bad_about/duqls53?utm_source=share&utm_medium=web2x). It allows multiple selection of emojis or unicode characters, as well as direct input without a clipboard step, but the customization possibilities are more limited and there is no visual unification with your main rofi instance.

![Kabouik/rofimoji](https://github.com/Kabouik/rofimoji/raw/master/screenshot-fork.png?raw=true)

+ 1993
- 1772
emojis.txt
File diff suppressed because it is too large
View File


+ 1
- 1
rofiemoji.sh View File

@@ -3,7 +3,7 @@
DIR="$HOME/.config/rofiemoji-rofiunicode"
# URL="https://github.com/Kabouik/rofiemoji/raw/master/unicode.txt"
# FILE="$DIR/unicode.txt"
VER='11.0'
VER='12.0'
URL="https://www.unicode.org/Public/emoji/${VER}/emoji-test.txt"
FILE="$DIR/emojis.txt"


Loading…
Cancel
Save