NameSizeMode
..
.local/bin/mathpick 284 bytes ?rwxr-xr-x
01
02
03
04
05
06
07
08
09
#!/bin/sh
# Select mathematical characters with dmenu

chosen=$(cut -d ';' -f1 ~/.local/share/math-symbols | rofi -dmenu -i -p 'select symbol' | sed "s/ .*//")

[ -z "$chosen" ] && exit

printf '%s' "$chosen" | xclip -selection clipboard
notify-send "'$chosen' copied to clipboard" &