diff options
| author | tslil clingman <tslil@posteo.net> | 2022-05-08 20:03:16 -0500 |
|---|---|---|
| committer | tslil clingman <tslil@posteo.net> | 2022-05-08 20:04:28 -0500 |
| commit | bffd96138125454c39dfce391c2ec7f36946de8a (patch) | |
| tree | 4c0a8c91996c5c00ab89a6885aaa9bf2d6934d80 /sway/lock | |
| parent | 945a07e76640f050876dff3568c93954d1181f9f (diff) | |
Tweaks
Diffstat (limited to 'sway/lock')
| -rwxr-xr-x | sway/lock | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sway/lock b/sway/lock new file mode 100755 index 0000000..2132bab --- /dev/null +++ b/sway/lock @@ -0,0 +1,8 @@ +#!/bin/sh + +ssh-add -D + +swayidle timeout 1 'swaylock -c 000000' \ + resume "killall swayidle" \ + timeout 5 'swaymsg "output * dpms off"' \ + resume "swaymsg 'output * dpms on'" |
