Goodbye rofi.
This commit is contained in:
parent
4865f4f572
commit
c586cfd5f9
4 changed files with 13 additions and 112 deletions
12
_suckless/_scripts/dmenu-emoji
Executable file
12
_suckless/_scripts/dmenu-emoji
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue