Read stdin to run a script on certain keystroke without interfering in programs/games

前端 未结 0 1781
無奈伤痛
無奈伤痛 2020-12-08 19:20

My goal is to run a script every time I push the R key on my keyboard:

#!/bin/bash
tail -50 .local/share/binding\\ of\\ isaac\\ afterbirth+/log.txt         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题