Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 1 insertions, 0 deletions
-rwxr-xr-x.scripts/lock1
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