From 64d438f07fd46bf0972aca66bf29045a2ce6e5b9 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 19 Jul 2022 11:51:30 +0300 Subject: Moved i3lock to scripts/system folder --- scripts/system/on-wm-logout.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 scripts/system/on-wm-logout.sh (limited to 'scripts/system/on-wm-logout.sh') 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 -- cgit v1.2.3