title: How can I make this bash xautolock script works?
body: <p>H_i guys, I'm running Arch with i3 as WM, i3lock works fine when manually executed via keybinding, xautolock is ofc installed and the script is launched at startup ( when trying to manually launch it I get this message : " xautolock is already running (PID 1302)" but my screen never automatically locks </p>
  
  <p>Here is the script :</p>
  
  <pre><code>#!/bin/sh
  
  exec xautolock -detectsleep \
    -time 3 -locker "i3lock -d -c 000000" \
    -notify 30 \
    -notifier "notify-send -u critical -t 10000 -- 'LOCKING screen in 30 seconds'"
  </code></pre>
  
  <p>Thanks in advance.</p>