4 lines
169 B
JavaScript
4 lines
169 B
JavaScript
function connectPowerActions() {
|
|
$("#poweroff-button").onclick = () => { lightdm.shutdown(); }
|
|
$("#restart-button").onclick = () => { lightdm.restart(); }
|
|
}
|