fix: lock 1password right away, not after unlock (#644)

This commit is contained in:
RaphaelKimmig 2025-08-11 17:10:52 +02:00 committed by GitHub
parent ba0666999e
commit 76c7956d15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,11 +1,11 @@
#!/bin/bash
# Lock the screen
pidof hyprlock || hyprlock
pidof hyprlock || hyprlock &
# Ensure 1password is locked
if pgrep -x "1password" >/dev/null; then
1password --lock
1password --lock &
fi
# Avoid running screensaver when locked