Browse Source

Update i3-lock configuration

Samuel W. Flint 4 years ago
parent
commit
d1e796de1d
1 changed files with 4 additions and 4 deletions
  1. 4 4
      i3-lock

+ 4 - 4
i3-lock

@@ -14,22 +14,22 @@ case ${1} in
         ;;
     lock)
         xidlehook-client --socket ~/.xidlehook.sock \
-                         --trigger
+                         control --action trigger --timer 0
         ;;
     start)
         rm ~/.xidlehook.sock
         xidlehook --socket ~/.xidlehook.sock \
                   --not-when-fullscreen \
                   --not-when-audio \
-                  --timer primary 300 "i3-lock locker-command" ""
+                  --timer 300 "i3-lock locker-command" ""
         ;;
     disable)
         xidlehook-client --socket ~/.xidlehook.sock \
-                         --disable
+                         control --action disable --timer 0
         ;;
     enable)
         xidlehook-client --socket ~/.xidlehook.sock \
-                         --enable
+                         controll --action enable --timer 0
         ;;
     suspend)
         ssh-add -D