fix: lock 1password right away, not after unlock (#644)
This commit is contained in:
parent
ba0666999e
commit
76c7956d15
@ -1,11 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Lock the screen
|
# Lock the screen
|
||||||
pidof hyprlock || hyprlock
|
pidof hyprlock || hyprlock &
|
||||||
|
|
||||||
# Ensure 1password is locked
|
# Ensure 1password is locked
|
||||||
if pgrep -x "1password" >/dev/null; then
|
if pgrep -x "1password" >/dev/null; then
|
||||||
1password --lock
|
1password --lock &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Avoid running screensaver when locked
|
# Avoid running screensaver when locked
|
||||||
|
Loading…
x
Reference in New Issue
Block a user