aboutsummaryrefslogtreecommitdiff
path: root/shufEmoji.sh
diff options
context:
space:
mode:
Diffstat (limited to 'shufEmoji.sh')
-rwxr-xr-xshufEmoji.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/shufEmoji.sh b/shufEmoji.sh
new file mode 100755
index 0000000..04dbc07
--- /dev/null
+++ b/shufEmoji.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# Echoes some random emojis
+
+file="$XDG_CONFIG_HOME/emoji"
+count=$1
+cut -d' ' -f1 < "$file" | shuf -n "$count" | tr -d '\n'