项目作者: MunifTanjim

项目描述 :
Unicode Character Picker for Rofi
高级语言: JavaScript
项目地址: git://github.com/MunifTanjim/rofunicode.git
创建时间: 2020-04-04T12:59:04Z
项目社区:https://github.com/MunifTanjim/rofunicode

开源协议:MIT License

下载


Rofunicode - Unicode Character Picker for Rofi

Installation

Just download the rofunicode.sh script whereever you want and give it executable permission:

  1. curl --progress-bar https://raw.githubusercontent.com/MunifTanjim/rofunicode/main/bin/rofunicode.sh -o ~/.local/bin/rofunicode.sh
  2. chmod u+x ~/.local/bin/rofunicode.sh

Dependencies:

  • rofi
  • bash
  • curl
  • Unicode Characters supported Fonts

Configuration

Rofunicode configuration file is located at ~/.config/rofunicode/config.sh:

  1. #!/usr/bin/env sh
  2. export ROFUNICODE_DATA_FILENAMES="emojis"
  3. export ROFUNICODE_PROMPT="Emoji"
  4. export ROFUNICODE_SKIN_TONE="dark" # neutral/light/medium-light/medium/medium-dark/dark

Rofunicode theme file is located at ~/.config/rofunicode/theme.rasi:

  1. listview {
  2. cycle: true;
  3. scrollbar: true;
  4. columns: 10;
  5. lines: 10;
  6. }

The theme file is used for rofi v1.7.x.

Usage

Run the rofunicode.sh script and do whatever you want with the picked unicode character.

  1. ~/.local/bin/rofunicode.sh | xsel -i --clipboard

Run the following command to clear cached data:

  1. ~/.local/bin/rofunicode.sh clear-cache

Screenshot

Emoji Picker

License

Licensed under the MIT License. Check the LICENSE file for details.