ArchLabs Linux

Rofi copy/paste Font Awesone

Hi all, I come today with a bit straight way to copy/paste icons in your different config files. It’s a curl link.
Dependencies: curl, xdotool, xclip and of course rofi. To copy just select the desired icon press Enter and there you go.

echo -n "<i class='fa fa-$(curl -s | rofi -dmenu -i -markup-rows -p "" -columns 6 -width 100 -location 1 -lines 20 -bw 2 -yoffset -2 | cut -d\' -f2 )'></i>" | xclip -selection clipboard && xdotool key ctrl+shift+v


Nice work, thanks for sharing.

Nicee @archus . Keep it on .