Code changes.
This commit is contained in:
parent
57943bd687
commit
7429ae7980
15
emojis.sh
15
emojis.sh
|
@ -1,7 +1,16 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
. $HOME/.config/wms/wms_var
|
||||
|
||||
emoji=$(cat ~/.emojis | $XMENU | awk '{print $3}')
|
||||
# pull up the file with dmenu and pipe into xclip to be copied into the clipboard
|
||||
$XMENU < ~/.emojis | cut -d ' ' -f 3- | xclip
|
||||
|
||||
echo "$emoji" | xsel -b && xsel -ob | xsel -i
|
||||
# To paste somewhere else other than an X application
|
||||
xclip -o | xclip -sel c
|
||||
|
||||
## .emojis file example:
|
||||
|
||||
# acid - ⊂(◉‿◉)つ
|
||||
# afraid - (ㆆ_ㆆ)
|
||||
# angel - ☜(⌒▽⌒)☞
|
||||
# angry - (•`_´•)
|
||||
|
|
Loading…
Reference in New Issue