doas apk add wl-clipboard wtype
mkdir -p ~/opt/scripts
get latest emoji database :: wget https://raw.githubusercontent.com/Mange/rofi-emoji/master/all_emojis.txt -O ~/opt/scripts/emoji
nano -w ~/opt/scripts/remoji
-------------------------------------------------------------------
#!/bin/sh
chosen=$(cat ~/opt/scripts/emoji |rofi -dmenu -i -l 30 | cut -f1)
[ -z "$chosen" ] && exit
if [ -n "$1" ]; then
wtype "$chosen"
else
printf "$chosen" | wl-copy
fi
-------------------------------------------------------------------
## chosen=$(cut -f 1,3,4,5 ~/opt/scripts/emo |rofi -dmenu -i -l 30 | cut -f1)
## for skip c
chmod +x ~/opt/scripts/emoji
./~/opt/scripts/emoji
#run ./remoji to copy emoji to clipboard call with [any] parameter to type directly
#emoji database
https://github.com/Mange/rofi-emoji/blob/master/all_emojis.txt
https://raw.githubusercontent.com/Mange/rofi-emoji/master/all_emojis.txt
src::
https://github.com/LukeSmithxyz/voidrice/blob/master/.local/bin/dmenuunicode
https://github.com/Mange/rofi-emoji
theme
https://raw.githubusercontent.com/davatorium/rofi/next/themes/Arc.rasi
use theme rofi -theme theme.rasi
window {
border-color: black/30%;
background-color: darkgrey/ 95%;
width: 100%;
height: 100%;
}
#for fullscreen rofi
Comments
Post a Comment