Switch from wofi to rofi.

This commit is contained in:
Bartek Stalewski 2023-10-15 01:45:00 +02:00
parent 57468ac92c
commit 8e2e316b62
4 changed files with 6 additions and 17 deletions

View file

@ -1,11 +0,0 @@
#!/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