Replace use of xdotool with new spmenu FIFO

This commit is contained in:
Jacob 2023-08-08 21:04:06 +02:00
parent 38e180c0b3
commit 73ac9c5658

View file

@ -163,14 +163,16 @@ print_about() {
printf "\033[0;37mi" >> /tmp/spmenuify_about_out
printf "\033[0;38mf" >> /tmp/spmenuify_about_out
printf "\033[1;31my " >> /tmp/spmenuify_about_out
printf "drawmenu" > /tmp/spmenu.fifo
sleep 1
printf "\033[1;32m %s\n" "$VERSION" >> /tmp/spmenuify_about_out
printf "drawmenu" > /tmp/spmenu.fifo
sleep 1
printf "Written by speedie & contributors\n" >> /tmp/spmenuify_about_out
[ -x "$(command -v xdotool)" ] && [ -n "$DISPLAY" ] && xdotool key control
printf "drawmenu" > /tmp/spmenu.fifo
sleep 1
printf "\033[0;34mLicensed under the GNU General Public License version 3.0.\n\n" >> /tmp/spmenuify_about_out
[ -x "$(command -v xdotool)" ] && [ -n "$DISPLAY" ] && xdotool key control
printf "drawmenu" > /tmp/spmenu.fifo
}
about() {