From cb1a51092d12db12f7ba29e57daed6d64b311d38 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Wed, 25 Oct 2023 18:02:25 -0400 Subject: More cleanup --- .local/bin/emoji-copy | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100755 .local/bin/emoji-copy (limited to '.local/bin/emoji-copy') diff --git a/.local/bin/emoji-copy b/.local/bin/emoji-copy deleted file mode 100755 index 9ddc05d..0000000 --- a/.local/bin/emoji-copy +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# Runs a prompt to choose an emoji to copy -# to the clipboard. Some font-awesome icons are -# also supported. - -choice=$( cat ~/.local/share/emoji | dmenu -i -p "Font Awesome & Emojis: ") - -icon=$(echo $choice | sed "s/^\(.\).*$/\1/") - -printf "$icon" | xsel -b - - -[ -z "$icon" ] && notify-send -a "Clipboard:" "Operation Cancelled" -[ -z "$icon" ] || notify-send -a "Clipboard:" "$icon has been copied!" -- cgit v1.2.3