diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-03-17 01:59:00 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-03-17 01:59:00 -0400 |
commit | c98c8ae0ab701dfeb4cd87fc5bff99a0fa3d1cca (patch) | |
tree | 01f2c2dc06808c098ee1f2a197b407f620c53ce9 | |
parent | b74cc7b375643f696de44a37a505553a22786106 (diff) | |
download | conf-c98c8ae0ab701dfeb4cd87fc5bff99a0fa3d1cca.tar.gz conf-c98c8ae0ab701dfeb4cd87fc5bff99a0fa3d1cca.zip |
also disable compton for import
-rwxr-xr-x | bin/hornet/import | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/bin/hornet/import b/bin/hornet/import index 677f5cc..307d56b 100755 --- a/bin/hornet/import +++ b/bin/hornet/import @@ -1,7 +1,10 @@ #!/bin/sh -if svst unclutter; then - svdn unclutter > /dev/null - trap "svup unclutter > /dev/null" EXIT -fi +for service in unclutter compton; do + if svst $service; then + svdn $service >/dev/null + # shellcheck disable=SC2064 + trap "svup $service > /dev/null" EXIT + fi +done /usr/bin/import "$@" |