mirror of
https://github.com/alrayyes/dwm.git
synced 2024-11-22 11:36:23 +00:00
11 lines
214 B
Bash
Executable file
11 lines
214 B
Bash
Executable file
#!/bin/sh
|
|
|
|
NUMBER_OF_SCREENS="$(xrandr | grep -c '\*')"
|
|
|
|
if [ "$NUMBER_OF_SCREENS" -gt 1 ]
|
|
then
|
|
maim ~/.cache/lock.png
|
|
corrupter ~/.cache/lock.png ~/.cache/lock.png
|
|
fi
|
|
|
|
i3lock -e -b -f -i ~/.cache/lock.png
|