Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit218d3ffd51c37f7c9cbf05b4622f9079368f6009 (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-03-28 20:17:42 +0200
Committer
 Syndamia <kamen@syndamia.com>
2025-03-28 20:17:42 +0200
Files66d4025e80b3569cce49e2bc8aedd22ee710ca3f
.files-218d3ffd51c37f7c9cbf05b4622f9079368f6009.tar
.files-218d3ffd51c37f7c9cbf05b4622f9079368f6009.tar.gz
.files-218d3ffd51c37f7c9cbf05b4622f9079368f6009.zip
Parente8e4957400b8efa0bade9e14e505f7d8f88ac815 (diff)
fix(.scripts/lock): Run before_suspend on suspend
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