fix typo
authorIan Kelling <ian@iankelling.org>
Wed, 10 May 2023 12:50:45 +0000 (08:50 -0400)
committerIan Kelling <ian@iankelling.org>
Wed, 10 May 2023 12:50:45 +0000 (08:50 -0400)
btrbk-run
btrfsmaint
laptop-btrbk
system-status

index cec50f1cff60278ce628d7db4dc6189ed8132397..f768ad4ffff561c65bf1d67ac3d8d9a02a9b74d6 100644 (file)
--- a/btrbk-run
+++ b/btrbk-run
@@ -503,7 +503,7 @@ else
     # This is a separate ssh because the command can fail and thatis ok.
     if $cron; then
       locked=false
-      if lock_info=$(timeout -s 9 6 ssh $h DISPLAY=:0 xscreensaver-command -timer); then
+      if lock_info=$(timeout -s 9 6 ssh $h DISPLAY=:0 xscreensaver-command -time); then
         if [[ $lock_info != *non-blanked* ]]; then
           locked=true
         fi
index 7b2dabe78f1b3915fff3310820b0bb96b7f1609f..4b851a1acd62dfc9606ecaba148a592e9efccb1b 100755 (executable)
@@ -35,7 +35,7 @@ check-idle() {
   type -p xscreensaver-command &>/dev/null || return 0
   export DISPLAY=:0
   locked=false
-  if lock_info=$(xscreensaver-command -timer); then
+  if lock_info=$(xscreensaver-command -time); then
     if [[ $lock_info != *non-blanked* ]]; then
       locked=true
     fi
index c069f12745f581e1ae7289d18965ca059e22e6c6..6fdd09f3b5f0f40e9aee7c50fa9a137b83303b24 100755 (executable)
@@ -8,7 +8,7 @@ set -eE -o pipefail
 trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?. PIPESTATUS: ${PIPESTATUS[*]}" >&2' ERR
 
 locked=false
-if lock_info=$(xscreensaver-command -timer); then
+if lock_info=$(xscreensaver-command -time); then
   if [[ $lock_info != *non-blanked* ]]; then
     locked=true
   fi
index 9d9049ef93a30bd59a9d64bae545dcbb7e49b9f2..b2e3b160f80eb1cc2c174a57a71085b7cd04b0fd 100755 (executable)
@@ -388,7 +388,7 @@ mute() {
   local locked
   export DISPLAY=:0
   locked=false
-  if lock_info=$(xscreensaver-command -timer); then
+  if lock_info=$(xscreensaver-command -time); then
     if [[ $lock_info != *non-blanked* ]]; then
       locked=true
     fi