mirror of
https://github.com/artizirk/dotfiles.git
synced 2025-12-14 14:15:12 +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