JezerM / web-greeter

A modern, visually appealing greeter for LightDM.
https://web-greeter-page.vercel.app
GNU General Public License v3.0
216 stars 12 forks source link

shell script #42

Open Varro33 opened 2 years ago

Varro33 commented 2 years ago

Hi, I've created a shell script to reboot with windows, and I want to add a button in the greeter to do this. How can I link my button to the script please ? Thanks !

JezerM commented 2 years ago

Greetings~

I don't think that is possible with any LightDM greeter, or at least it's not with web-greeter and nody-greeter. Executing a script is simply not implemented and I guess it won't be as long as it could be insecure. However, it could be tried.

Also, even if this feature for executing a script is implemented, you would require to modify your current theme to add the button with its proper function.