mirror of
https://github.com/kristoferssolo/solorice.git
synced 2026-02-04 06:32:03 +00:00
Use dotter
This commit is contained in:
10
local/bin/lock
Executable file
10
local/bin/lock
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/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 "$@"
|
||||
Reference in New Issue
Block a user