diff options
author | Marvin Borner | 2023-06-16 18:14:47 +0200 |
---|---|---|
committer | Marvin Borner | 2023-06-16 18:14:47 +0200 |
commit | 3b69dbe8d9f0a8942e2baa8d8deddcf041ca183a (patch) | |
tree | 18d60080b8ed27971248555fef741a5f05ef48b0 /isbypass | |
parent | 921eaa2fceaa132585ef3a2e7b35379e8ea0856f (diff) |
Diffstat (limited to 'isbypass')
-rwxr-xr-x | isbypass | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,9 +1,9 @@ #!/bin/env sh -(/usr/local/bin/ishome && /usr/local/bin/hasyubi) && ( - notify-send "access bypass" & +if (/usr/local/bin/ishome && /usr/local/bin/hasyubi); then + notify-send "access bypass" "$1" & exit 0 -) || ( - notify-send "awaiting authentication" & +else + notify-send "awaiting authentication" "$1" & exit 1 -) +fi |