diff options
Diffstat (limited to '.a/sys/on-wm-logout.sh')
| -rwxr-xr-x | .a/sys/on-wm-logout.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.a/sys/on-wm-logout.sh b/.a/sys/on-wm-logout.sh new file mode 100755 index 0000000..90ebab2 --- /dev/null +++ b/.a/sys/on-wm-logout.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +# Gracefully close certain programs +grace=(brave) + +for $app in $grace; do + timeout 5 pkill -TERM $app +done |
