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

7 lines
147 B
Bash

#!/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