I’ve been looking for a way to get the screen turn off after some time automatically for a few days now. Putting my tweaked script into this folder was the only working solution after manually disabling xscreensaver. Thanks.
For my my own future reference.
#!/bin/bash
DISPLAY=:0 xset dpms 60 60 60