From 218d3ffd51c37f7c9cbf05b4622f9079368f6009 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Fri, 28 Mar 2025 20:17:42 +0200 Subject: fix(.scripts/lock): Run before_suspend on suspend --- .scripts/lock | 1 + 1 file changed, 1 insertion(+) diff --git a/.scripts/lock b/.scripts/lock index 24911fc..e0f8365 100755 --- a/.scripts/lock +++ b/.scripts/lock @@ -35,6 +35,7 @@ when_unlocked () { # ++============================++ if [ ! -f ~/.tmp/locksh-locked ]; then + [ "$1" == 'suspend' ] && before_suspend # The first line of i3lock arguments uses standard arguments, while the rest of the lines are i3lock-color ones # If you want to use i3lock, remove those lines (and the \ at the end) # But I highly advise you to use i3lock-color, it's amazing: https://github.com/Raymo111/i3lock-color -- cgit v1.3.1-26-gb76a