1
Fork 0

Remove drg-auto-ready.

This commit is contained in:
Bauke 2023-04-23 14:20:12 +02:00
parent c43d003a69
commit 2f4172122c
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 0 additions and 12 deletions

View File

@ -1,12 +0,0 @@
#!/usr/bin/env zsh
# Automatically type "r" in the Deep Rock Galactic chat when it's running and
# the currently active window.
drg_pid=$(xdotool search --name 'Deep Rock Galactic' getwindowpid)
active_window_pid=$(xdotool getactivewindow getwindowpid)
if [[ $drg_pid = $active_window_pid ]]; then
sleep 0.1
xdotool key --delay 50 Enter r Enter
fi