|
@@ -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
|