summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-03-05 21:55:01 -0500
committerJesse Luehrs <doy@tozt.net>2021-03-05 21:59:32 -0500
commit551ae4d77f238d9d9a3b76f373a3983b452f9424 (patch)
tree4ca30e3ff4bf0e37965798becacbbe9907688b52
parentfe658263a6c9f415bc31d18e7243aad6c2997a4a (diff)
downloadconf-551ae4d77f238d9d9a3b76f373a3983b452f9424.tar.gz
conf-551ae4d77f238d9d9a3b76f373a3983b452f9424.zip
fix bad interaction between import and unclutter
if unclutter has hidden the mouse, import will lock the entire x server when trying to let you select a screen region
-rwxr-xr-xbin/hornet/import7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/hornet/import b/bin/hornet/import
new file mode 100755
index 0000000..677f5cc
--- /dev/null
+++ b/bin/hornet/import
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if svst unclutter; then
+ svdn unclutter > /dev/null
+ trap "svup unclutter > /dev/null" EXIT
+fi
+/usr/bin/import "$@"