aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/events-resume
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/events-resume')
-rwxr-xr-x.local/bin/events-resume9
1 files changed, 9 insertions, 0 deletions
diff --git a/.local/bin/events-resume b/.local/bin/events-resume
new file mode 100755
index 0000000..50ffd2c
--- /dev/null
+++ b/.local/bin/events-resume
@@ -0,0 +1,9 @@
+#!/bin/sh -eux
+
+# reset x11vnc
+x11vnc -R stop;
+
+# reset input devices
+for device in $(xinput --list --id-only)
+ do xinput --disable "$device" && xinput --enable "$device";
+done;