mirror of
https://github.com/artizirk/dotfiles.git
synced 2025-12-16 23:15:18 +02:00
Add sleep blocker script
This commit is contained in:
3
.bin/no-sleep
Executable file
3
.bin/no-sleep
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
systemd-inhibit --what=sleep:idle --mode=block bash -c 'while true; do sleep 1; done'
|
||||||
Reference in New Issue
Block a user