initial commit
This commit is contained in:
9
bspwm/prevent_suspend.sh
Executable file
9
bspwm/prevent_suspend.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
# Check if xset q has "timeout" equal to 0 and if so, return 1
|
||||
if xset q | grep "timeout: 0" >/dev/null; then
|
||||
xset s 580 10
|
||||
echo "Suspend lock disabled"
|
||||
else
|
||||
xset s off
|
||||
echo "Suspend lock enabled"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user