scripts/bin/lock-session
2021-01-24 19:31:30 +01:00

6 lines
179 B
Bash
Executable file

#!/bin/sh
qdbus org.keepassxc.KeePassXC.MainWindow /keepassxc org.keepassxc.MainWindow.lockAllDatabases
swaymsg 'output * dpms off'
swaylock -c 1f2022
swaymsg 'output * dpms on'