mirror of
https://github.com/kristoferssolo/solorice.git
synced 2025-10-21 20:10:34 +00:00
11 lines
221 B
Bash
Executable File
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 "$@"
|