dmenu unicode script added
This commit is contained in:
7
.scripts/dmenuunicode
Executable file
7
.scripts/dmenuunicode
Executable 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
6
.scripts/showclip
Executable 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)"
|
||||
Reference in New Issue
Block a user