diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2018-10-29 15:01:24 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2018-10-29 15:01:24 -0400 |
| commit | 31505f93f0537988b3386074065dd1c01d46e04b (patch) | |
| tree | 200795eae866f8b7fad0cc25c8b4c75ddb5c541f /.scripts/dmenuunicode | |
| parent | e5bac9fff4ea93c5fdf0979e706691fce51e667f (diff) | |
| download | eibhear-31505f93f0537988b3386074065dd1c01d46e04b.tar.gz eibhear-31505f93f0537988b3386074065dd1c01d46e04b.tar.zst eibhear-31505f93f0537988b3386074065dd1c01d46e04b.zip | |
dmenu unicode script added
Diffstat (limited to '.scripts/dmenuunicode')
| -rwxr-xr-x | .scripts/dmenuunicode | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.scripts/dmenuunicode b/.scripts/dmenuunicode new file mode 100755 index 0000000..fe6a23c --- /dev/null +++ b/.scripts/dmenuunicode @@ -0,0 +1,7 @@ +#!/bin/sh +# Give dmenu list of all unicode characters to copy. +# Shows the selected character in dunst if running. + +grep -v "#" ~/.scripts/unicode | dmenu -i -l 20 -fn Monospace-18 | awk '{print $1}' | tr -d '\n' | xclip -selection clipboard + +pgrep -x dunst >/dev/null && notify-send "$(xclip -o -selection clipboard) copied to clipboard." |
