有没有办法从 bash 获取鼠标按钮状态?Xdotool 只能获取鼠标位置。
我想设置一些东西,我可以定义一个规则,当按下鼠标按钮时,可以执行脚本。
bash mouse
bash ×1
mouse ×1