diff options
| author | Josh Rahm <rahm@google.com> | 2022-01-10 14:57:47 -0700 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2022-10-09 12:19:45 -0600 |
| commit | c8931aef4a2ffab40fb75830077210d810e50b55 (patch) | |
| tree | fd3b180f16b8845cbd18f2a7ac23204a0459ab83 /extras | |
| parent | 469e81c77ae34207d7f515b97ccfe85ddb99f053 (diff) | |
| download | rde-c8931aef4a2ffab40fb75830077210d810e50b55.tar.gz rde-c8931aef4a2ffab40fb75830077210d810e50b55.tar.bz2 rde-c8931aef4a2ffab40fb75830077210d810e50b55.zip | |
Add emoticon-select.
It's the same as emoji select, but with emoticons.
Key bound to <C-z>E (capital E, as opposed to <C-z>e for emojis)
Diffstat (limited to 'extras')
| -rwxr-xr-x | extras/HOME/.local/bin/emoticon-select.sh | 13 | ||||
| -rw-r--r-- | extras/HOME/.xmonad/emoticons.txt | 16 |
2 files changed, 29 insertions, 0 deletions
diff --git a/extras/HOME/.local/bin/emoticon-select.sh b/extras/HOME/.local/bin/emoticon-select.sh new file mode 100755 index 0000000..bf10318 --- /dev/null +++ b/extras/HOME/.local/bin/emoticon-select.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +if ( which rofi ) ; then + menu=(rofi -dmenu -i -p "Select Emoticon: " -font "Fira Code 32") +else + menu=(dmenu -fn NotoSans:size=24 -i -nf "#ffff88" -sb "#ffff88" -p "Select Emoticon" -l 12 -dim 0.4) +fi + + +selection="$("${menu[@]}" < $HOME/.xmonad/emoticons.txt)" +emoticon="$(echo ${selection/*-})" + +echo "$emoticon" | xclip -selection clipboard diff --git a/extras/HOME/.xmonad/emoticons.txt b/extras/HOME/.xmonad/emoticons.txt new file mode 100644 index 0000000..40b83c5 --- /dev/null +++ b/extras/HOME/.xmonad/emoticons.txt @@ -0,0 +1,16 @@ +Deal with it - (•_•) ( •_•)>⌐■-■ (⌐■_■) +Deal with it. - (▀̿Ĺ̯▀̿ ̿) +Do It Right - (☞゚ヮ゚)☞ +Do it Left - ☜(゚ヮ゚☜) +Happy Gary - ᕕ( ᐛ )ᕗ +Happy Lenny - ( ͡ᵔ ͜ʖ ͡ᵔ ) +IDFK - ¯\(°_o)/¯ +Lenny - ( ͡° ͜ʖ ͡°) +Mad Lenny - ( ͡° ʖ̯ ͡°) +Person Flip - (╯°□°)╯︵ (\ .o.)\ +Shrug - ¯\_(ツ)_/¯ +Smiley - :-) +Tableback - ┬─┬ノ(ಠ_ಠノ) +Tableflip - (╯°□°)╯︵ ┻━┻ +Unamused - ಠ_ಠ +Y u no - ლ(ಠ益ಠ)ლ |