Closed blubber closed 3 years ago
Ah! Unlike the main xidlehook application, the --activation
command takes multiple arguments in order to avoid depending on /bin/sh
(making xidlehook-client more powerful than xidlehook, at the cost of less convenience). The command is started with the first argument as command, and the rest as arguments. The trick is to use ;
as terminator. Compare with find -exec command arg1 arg2 \;
(\;
needed to escape the ;
in bash)
xidlehook-client add --time 300 --activation activate \; --abortion abort
should do the trick :)
Cool, thanks for the quick reply!
As far as I can tell from the documentation the following command should result in a new timer, with a activation and a cancelation command:
$ xidlehook-client add --time 300 --activation activate --abortion abort
Instead, the resulting timer looks like this: