Use Omarchy command helpers consistently
This commit is contained in:
1 parent
bd34704f7b
commit
8862fb22bd
23 files changed
+54
-46
No files matched your search
@@ -12,7 +12,7 @@ hyprctl switchxkblayout all 0 > /dev/null 2>&1
|
||||
|
||||
# Ensure 1password is locked. Use timeout because `1password --lock` can
|
||||
# otherwise leave a full Electron helper tree running after each lock.
|
||||
if pgrep -x "1password" >/dev/null && command -v 1password >/dev/null 2>&1; then
|
||||
if pgrep -x "1password" >/dev/null && omarchy-cmd-present 1password; then
|
||||
(
|
||||
flock -n 9 || exit 0
|
||||
timeout --kill-after=1s 3s 1password --lock >/dev/null 2>&1 || true
|
||||
|
||||
Reference in new issue
Block a user