aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2021-08-30 15:24:10 -0400
committertdro <tdro@users.noreply.github.com>2021-08-30 15:24:10 -0400
commit34f6dc572e5b4032a1549e6d95a0e28a2a060921 (patch)
tree8e5fd592b674aecf86139605c336234e2b7d2990
parent59fc92eaf03cfe9a39e9a555caa8a9aa376f3092 (diff)
downloaddotfiles-34f6dc572e5b4032a1549e6d95a0e28a2a060921.tar.gz
dotfiles-34f6dc572e5b4032a1549e6d95a0e28a2a060921.tar.bz2
dotfiles-34f6dc572e5b4032a1549e6d95a0e28a2a060921.zip
.local/bin/browser-refresh: Don't disable keyboard
-rwxr-xr-x.local/bin/browser-refresh9
1 files changed, 0 insertions, 9 deletions
diff --git a/.local/bin/browser-refresh b/.local/bin/browser-refresh
index c1410c4..a882f9d 100755
--- a/.local/bin/browser-refresh
+++ b/.local/bin/browser-refresh
@@ -1,8 +1,5 @@
#!/usr/bin/env bash
-# set keyboard
-keyboard=10
-
# set target browser and title
browser=$1
title=$2
@@ -37,9 +34,6 @@ xdotool windowactivate $target_window;
# declare the variable i as an interger
declare -i i=0;
-# disable keyboard at the start of search
-xinput --disable $keyboard;
-
while true; do
# bail out if there are too many searches
@@ -96,7 +90,4 @@ while true; do
done
-# enable keyboard at the end of the search
-xinput --enable $keyboard;
-
exit 0;