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