dmenu unicode script added

This commit is contained in:
Luke Smith
2018-10-29 15:01:24 -04:00
parent e5bac9fff4
commit 31505f93f0
3 changed files with 17 additions and 1 deletions

7
.scripts/dmenuunicode Executable file
View File

@@ -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."

6
.scripts/showclip Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
# Display contents of selection via dunst if running.
# Separate script for i3.
pgrep -x dunst >/dev/null && notify-send "$(xclip -o -selection clipboard)"