/emoji-selector-applet-for-cosmic

Emoji Selector for COSMIC™️ DE

Primary LanguageRustMozilla Public License 2.0MPL-2.0

screenshot-2024-03-31-08-18-52

Install

git clone https://github.com/leb-kuchen/emoji-selector-applet-for-cosmic
cd emoji-selector-applet-for-cosmic
cargo b -r
sudo just install

Config

The configuration directory is ~/.config/cosmic/dev.dominiccgeh.CosmicAppletEmojiSelector/v1/. In addition, the default schema can be installed with just install-schema

Emoji font

Noto Color Emoji is the default emoji font and is required by default. The default can be changed in ~/.config/cosmic/dev.dominiccgeh.CosmicAppletEmojiSelector/v1/font_family. A font which supports Unicode 15.1 is generally recommended.

Copying emojis

To copy emojis, data_control has to be enabled. This can be done in /etc/cosmic-comp/config.ron. Note this grants windowless applications access to your clipboard. In case this does not meet your security requirements, you can enter the unicode code points manually. To do so, enable show_tooltip and show_unicode in ~/.config/cosmic/dev.dominiccgeh.CosmicAppletEmojiSelector/v1/show_tooltip and ~/.config/cosmic/dev.dominiccgeh.CosmicAppletEmojiSelector/v1/show_unicode respectivly. Now press Shift + Ctrl + U, then enter the first code, e.g. 1F1E9, finally press Shift + Ctrl to enter the code point. After that repeat this step for the remaining code points ( up to 8), in this example 1F1EA and it will output 🇩🇪.

Dependencies

(some may not be required)

Build-Depends:
  debhelper (>= 11),
  debhelper-compat (= 11),
  rustc ,
  cargo,
  libdbus-1-dev,
  libegl-dev,
  libpulse-dev,
  libudev-dev,
  libxkbcommon-dev,
  libwayland-dev,
  libinput-dev,
  just,
  pkg-config,