Update src/r

This commit is contained in:
digitalstudium 2024-08-14 16:50:54 +00:00
parent f580a59be0
commit f2c182200a
1 changed files with 2 additions and 3 deletions

5
src/r
View File

@ -1,4 +1,3 @@
#!/bin/bash
trap 'clear' SIGINT
setxkbmap
cat ~/.aliases.txt | fzf | cut -d : -f 2- | sed s/\ // | (stty -F /dev/tty -echo; xargs -0 -I _ xdotool type --delay 0 _; stty -F /dev/tty echo) && xdotool key --delay 0 KP_Enter
command=$(cat ~/.aliases.txt | fzf | cut -d : -f 2- | sed s/\ //)
xdotool type --delay 0 "${command}"