adi1090x / rofi

A huge collection of Rofi based custom Applets, Launchers & Powermenus.
GNU General Public License v3.0
6.55k stars 307 forks source link

[Feature request] Emoji picker #174

Open Irubataru opened 1 month ago

Irubataru commented 1 month ago

I love these themes and stylings so much! :heart:

I was wondering if there would be any interest for an emoji picker, i.e. something like rofimoji, but as good looking as these are.

Thanks! ✨

anispwyn commented 3 weeks ago

image i dont know if you have already done this

but u can just make another launcher scripts and use this instead of default rofi launch param

Irubataru commented 3 weeks ago

I didn't try that, and it seems to work. Might want to tweak some of the styles, but it's a good starting point

Had to set --max-recent 0, if not the picker swallowed the first emoji for some reason.

Also, if I tried your command it didn't type in the emoji when I selected them for some reason, so I instead used the rofimoji-command

#! /usr/bin/env bash

typename="type-1"
themename="style-5"

dir="$HOME/.config/rofi/launchers"

rofimoji \
  --selector-args="-theme ${dir}/${typename}/${themename}.rasi" \
  --prompt="󰞅 Emojis"
anispwyn commented 3 weeks ago

I was experimenting, that did not work for me as well

But I now have the working script (it's same as urs)