fix: lock 1password right away, not after unlock (#644)
This commit is contained in:
parent
ba0666999e
commit
76c7956d15
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user