From 2f4172122c7d3ec9a3665b0d901dfa7b1ea98df7 Mon Sep 17 00:00:00 2001 From: Bauke Date: Sun, 23 Apr 2023 14:20:12 +0200 Subject: [PATCH] Remove drg-auto-ready. --- .bauke/bin/drg-auto-ready | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100755 .bauke/bin/drg-auto-ready diff --git a/.bauke/bin/drg-auto-ready b/.bauke/bin/drg-auto-ready deleted file mode 100755 index e5204eb..0000000 --- a/.bauke/bin/drg-auto-ready +++ /dev/null @@ -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