dotfiles/bin/rice-emoji
Sarthak 4b203d06bd replace the old dotfiles with the sakura line rice
The bare $HOME repo is gone. This is now the rice: install.sh, rice-*
scripts in bin/, configs in home/ linked into $HOME, theme templates, st
and the particle wallpaper. Clone to ~/rice and run install.sh.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BLLuuQfeDiqFHHSgd2VWrQ
2026-09-14 16:12:09 +05:30

12 lines
582 B
Bash
Executable file

#!/usr/bin/env bash
# rice-emoji - emoji picker that types the emoji into the focused window.
theme="$HOME/.config/rofi/menu.rasi"
if [[ -f /usr/lib/rofi/emoji.so ]]; then
# The "Emoji" header comes from config.rasi (emoji { display-name }).
exec rofi -modi emoji -show emoji -emoji-mode insert \
-theme "$theme" -theme-str 'window { width: 640px; } listview { columns: 2; lines: 12; }'
elif command -v rofimoji >/dev/null; then
exec rofimoji --action type --selector-args="-theme $theme -p Emoji"
else
rice-notify send "Emoji" "Install rofi-emoji to use the picker"
fi