Switch to rofi.

This commit is contained in:
Bartek Stalewski 2023-02-22 16:19:33 +01:00
parent e8e2fb2fb5
commit 122f54d3ae
6 changed files with 20 additions and 19 deletions

View file

@ -1,11 +0,0 @@
#!/bin/sh
chosen=$(cut -d ';' -f1 $XDG_CONFIG_HOME/qtile/chars/* | dmenu -l 30 -i | 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