Goodbye rofi.

This commit is contained in:
Bartek Stalewski 2021-08-23 21:36:32 +02:00
parent 4865f4f572
commit c586cfd5f9
4 changed files with 13 additions and 112 deletions

12
_suckless/_scripts/dmenu-emoji Executable file
View file

@ -0,0 +1,12 @@
#!/bin/sh
chosen=$(cut -d ';' -f1 ~/.local/share/emoji | dmenu -i -l 30 | sed "s/ .*//")
[ -z "$chosen" ] && exit
if [ -n "$1" ]; then
xdotool type "$chosen"
else
printf "$chosen" | xsel -l /dev/null
notify-send "'$chosen' copied to clipboard." &
fi