macos caffeinate

main
sudo pacman -Syu 2024-08-24 11:10:09 +07:00
parent 34907f1676
commit 786b7b474e
2 changed files with 14 additions and 0 deletions

View File

@ -1170,6 +1170,13 @@
><span aria-hidden="true" class="octicon octicon-link"></span
></a>
</div>
<p>Never sleep:</p>
<div class="highlight highlight-source-shell">
<pre>
caffeinate -u -t 3600
caffeinate -i</pre
>
</div>
<p>Use Touch ID in Terminal:</p>
<div class="highlight highlight-source-shell">
<pre>sudo cp /etc/pam.d/sudo_local.template /etc/pam.d/sudo_local

View File

@ -273,6 +273,13 @@ Thanks:
### macOS
Never sleep:
```sh
caffeinate -u -t 3600
caffeinate -i
```
Use Touch ID in Terminal:
```sh