Back to wofi.

This commit is contained in:
Bartek Stalewski 2023-10-17 02:18:45 +02:00
parent 5c53f6529b
commit 964626d973
6 changed files with 1887 additions and 7 deletions

11
_gui/_scripts/selector-chars Executable file
View file

@ -0,0 +1,11 @@
#!/bin/sh
chosen=$(cut -d ';' -f1 $XDG_CONFIG_HOME/qtile/chars/* | wofi -G --dmenu -i -p "select character to copy" | sed "s/ .*//")
[ -z "$chosen" ] && exit
if [ -n "$1" ]; then
xdotool type "$chosen"
else
printf "$chosen" | wl-copy -n
notify-send -t 2000 "'$chosen' copied to clipboard" &
fi