This repository has no description
922 B
34 lines
1{ coreutils, dmenu, gnused, writers, writeText, xdotool }: let
2
3 emoticons = writeText "emoticons" ''
4¯\(°_o)/¯ | dunno lol shrug dlol
5¯\_(ツ)_/¯ | dunno lol shrug dlol
6( ͡° ͜ʖ ͡°) | lenny
7¯\_( ͡° ͜ʖ ͡°)_/¯ | lenny shrug dlol
8( ゚д゚) | aaah sad noo
9ヽ(^o^)丿 | hi yay hello
10(^o^; | ups hehe
11(^∇^) | yay
12┗(`皿´)┛ | angry argh
13ヾ(^_^) byebye!! | bye
14<(^.^<) <(^.^)> (>^.^)> (7^.^)7 (>^.^<) | dance
15(-.-)Zzz... | sleep
16(∩╹□╹∩) | oh noes woot
17™ | tm
18ζ | zeta
19(╯°□°)╯ ┻━┻ | table flip
20(」゜ロ゜)」 | why woot
21(_゜_゜_) | gloom I see you
22༼ ༎ຶ ෴ ༎ຶ༽ | sad
23(\/) (°,,,,°) (\/) | krebs
24 '';
25
26in
27writers.writeDashBin "emoticons" ''
28 set -efu
29
30 data=$(${coreutils}/bin/cat ${emoticons})
31 emoticon=$(echo "$data" | ${dmenu}/bin/dmenu | ${gnused}/bin/sed 's/ | .*//')
32 ${xdotool}/bin/xdotool type --clearmodifiers -- "$emoticon"
33 exit 0
34''