solorice/local/bin/lock
Kristofers Solo a42ded1119 Use dotter
2024-08-28 09:02:07 +03:00

11 lines
221 B
Bash
Executable File

#!/bin/sh
for o in HDMI-A-2 DP-1 eDP-1; do
grim -o "$o" "/tmp/$o.png"
# check if the file exists
if [[ -f "/tmp/$o.png" ]]; then
corrupter "/tmp/$o.png" "/tmp/$o.png" &
fi
done
wait
exec gtklock "$@"