dotfiles/bin/executable_blur-lock-and-su...

7 lines
147 B
Plaintext
Raw Normal View History

2021-03-08 14:54:42 +01:00
#!/usr/bin/env bash
SWAYSOCK=/run/user/$(id -u)/sway-ipc.sock
swaymsg exec blur-lock &
sleep 3
doas /run/current-system/sw/bin/systemctl suspend