Skip to content

Commit

Permalink
Merge branch 'master' of gitlab.com:NightMachinary/night.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
NightMachinery committed Jul 6, 2020
2 parents 859ddda + 52a967c commit 37e68ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/zsh/auto-load/others/luna.zsh
Expand Up @@ -20,7 +20,7 @@ alias lq='loop-startover ~/tmp/.luna'
function deluna() {
local nonce
nonce="$(oneinstance-setup $0)" || return 1
local timeout="${1:-150}"
local timeout="${1:-150}" # 150 is good for PC work, but 800 might be better for reading, as the screen dims in 10 minutes
while oneinstance $0 $nonce
do
(( $(getidle-darwin) >= $timeout || $(getlastunlock-darwin) <= 80 )) && {
Expand Down

0 comments on commit 37e68ac

Please sign in to comment.