pass dmenu monitor
This commit is contained in:
parent
206ad3c949
commit
e9ab49cc29
|
@ -1,12 +1,14 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# call this with a single 'ranges' parameter for unicodedata
|
# it is probably easiest to link this and unicodedata to /usr/local/bin for use with dwm
|
||||||
# e.g. dmenu_charinput '13000..1342F 1F600..1F64F'
|
|
||||||
|
# call this with the dmenu monitor and a single 'ranges' parameter for unicodedata
|
||||||
|
# e.g. dmenu_charinput 0 '13000..1342F 1F600..1F64F'
|
||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
unicodedata -ranges "$1" |
|
unicodedata -ranges "$2" |
|
||||||
dmenu -i -l 10 |
|
dmenu -m "$1" -i -l 10 |
|
||||||
awk '{print $1}' |
|
awk '{print $1}' |
|
||||||
tr -d "\n" |
|
tr -d "\n" |
|
||||||
xclip -selection clipboard
|
xclip -selection clipboard
|
||||||
|
|
Loading…
Reference in New Issue
Block a user