diff options
| author | Alec Goncharow <alec@goncharow.dev> | 2023-01-24 16:07:08 -0600 |
|---|---|---|
| committer | Alec Goncharow <alec@goncharow.dev> | 2023-01-24 16:07:08 -0600 |
| commit | d3aeb8f7d8d9b4352e7b827a361d1da11cb6cf04 (patch) | |
| tree | f7f609be5b348e8b337a24e41f5dddb8fcc5fbdb /bin | |
| parent | 47e76c9ba66260f1cebf74015a7c4a566a012364 (diff) | |
add afk script
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/afk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -0,0 +1,6 @@ +#!/bin/sh + +swayidle -w \ + timeout 1 'pretty-lock' \ + timeout 2 'swaymsg "output * dpms off"'\ + resume 'swaymsg "output * dpms on"; pkill -nf swayidle.' |
