omarchy
omarchy copied to clipboard
omarchy-lock-screen - compatibility with BitWarden
What do you need?
Hello, I would like to suggest to include bitwarden lock into the lock screen script in order to increase security for bitwarden users.
I am not versed on how to program, please excuse me.
#!/bin/bash
Lock the screen
pidof hyprlock || hyprlock &
Ensure 1password is locked
if pgrep -x "1password" >/dev/null; then 1password --lock & fi
Avoid running screensaver when locked
pkill -f "$TERMINAL --class Screensaver"
thank you
I don't think Bitwarden Desktop app supports being locked from command line, so unless they support that it seems not possible.