flake/users/guanranwang/home-manager/resources/dotfiles/bin/minecraft-inputfix

8 lines
202 B
Text
Raw Normal View History

2023-09-19 00:17:43 +00:00
#!/bin/sh
ydotool key 20:1 20:0 # press t
echo $(zenity --width 500 --entry) | wl-copy
ydotool key 29:1 47:1 # press ctrl + v
sleep 0.1
ydotool key 29:0 47:0 28:1 28:0 # release ctrl + v, press return