I've created a shell script to reboot windows, and I want to add a button in the lightdm web-greeter v3.4.1, to do this. How can I link my button (event onclick) to the script please ? If I try with javascript I have an error "require is not defined". Is there an other way ?
Thanks !