diff options
author | Samuel Fadel <samuel@nihil.ws> | 2023-02-06 02:19:52 +0100 |
---|---|---|
committer | Samuel Fadel <samuel@nihil.ws> | 2023-02-06 02:19:52 +0100 |
commit | e9cc14d5be2090a4272edc45f4c77c84dceb29d8 (patch) | |
tree | f2a5d1ad736a0b1e1c3fa033653e064a66d025e1 /bin/zzz | |
parent | f0dfdb2cb8878c81e8bafdcb020b7b0abd08d55f (diff) |
Minor improvements.
* bin/menu-pass: Simpler sanity checks
* bin/zzz: I am overthinking
Diffstat (limited to 'bin/zzz')
-rwxr-xr-x | bin/zzz | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -41,7 +41,7 @@ test -w /sys/power/state || fail "sleep permission denied" ( flock -n 9 || fail "another instance of zzz is running" -printf "Zzzz... " +printf "Zzz... " for hook in /etc/zzz.d/suspend/*; do [ -x "$hook" ] && "$hook" @@ -60,5 +60,5 @@ for hook in /etc/zzz.d/resume/*; do [ -x "$hook" ] && "$hook" done -echo "yawn." +echo "... !" ) 9</sys/power |