From 0e4b0187167e43c3c00371cbcca5cc892521bdb2 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Mon, 10 Jan 2022 14:57:47 -0700 Subject: Add emoticon-select. It's the same as emoji select, but with emoticons. Key bound to E (capital E, as opposed to e for emojis) --- extras/HOME/.local/bin/emoticon-select.sh | 13 +++++++++++++ extras/HOME/.xmonad/emoticons.txt | 16 ++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100755 extras/HOME/.local/bin/emoticon-select.sh create mode 100644 extras/HOME/.xmonad/emoticons.txt (limited to 'extras') 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 - ლ(ಠ益ಠ)ლ -- cgit