diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-03-05 21:55:01 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-03-05 21:59:32 -0500 |
commit | 551ae4d77f238d9d9a3b76f373a3983b452f9424 (patch) | |
tree | 4ca30e3ff4bf0e37965798becacbbe9907688b52 /bin | |
parent | fe658263a6c9f415bc31d18e7243aad6c2997a4a (diff) | |
download | conf-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
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/hornet/import | 7 |
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 "$@" |