Sfoglia il codice sorgente

Update i3-lock configuration

Samuel W. Flint 4 anni fa
parent
commit
d1e796de1d
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 4 4
      i3-lock

+ 4 - 4
i3-lock

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