#!/bin/sh # Get user selection via fuzzel from emoji file. chosen="$(cut -d ';' -f1 ~/.local/share/misc/chars/* | fuzzel -d -l 16 -w 32 | sed "s/ .*//")" # Exit if none chosen. [ -z "$chosen" ] && exit printf "%s" "$chosen" | wl-copy notify-send "emojimenu" "'$chosen' copied to clipboard." &