From 551ae4d77f238d9d9a3b76f373a3983b452f9424 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 5 Mar 2021 21:55:01 -0500 Subject: 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 --- bin/hornet/import | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 bin/hornet/import 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 "$@" -- cgit v1.2.3-54-g00ecf