diff options
| author | Syndamia <kamen@syndamia.com> | 2022-07-19 11:51:30 +0300 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2022-07-19 11:51:30 +0300 |
| commit | 64d438f07fd46bf0972aca66bf29045a2ce6e5b9 (patch) | |
| tree | f96590be13a8c9bb0a64f3e737b6daa2e64d77be /scripts/system/on-wm-logout.sh | |
| parent | 68429f7bd64fbb01c18984aaf51e081c6da9422b (diff) | |
| download | dotfiles-64d438f07fd46bf0972aca66bf29045a2ce6e5b9.tar dotfiles-64d438f07fd46bf0972aca66bf29045a2ce6e5b9.tar.gz dotfiles-64d438f07fd46bf0972aca66bf29045a2ce6e5b9.zip | |
Moved i3lock to scripts/system folder
Diffstat (limited to 'scripts/system/on-wm-logout.sh')
| -rwxr-xr-x | scripts/system/on-wm-logout.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/system/on-wm-logout.sh b/scripts/system/on-wm-logout.sh new file mode 100755 index 0000000..90ebab2 --- /dev/null +++ b/scripts/system/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 |
