Initial commit
This commit is contained in:
commit
744e2063ae
22 changed files with 666 additions and 0 deletions
4
js/power-actions.js
Normal file
4
js/power-actions.js
Normal file
|
@ -0,0 +1,4 @@
|
|||
function connectPowerActions() {
|
||||
$("#poweroff-button").onclick = () => { lightdm.shutdown(); }
|
||||
$("#restart-button").onclick = () => { lightdm.restart(); }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue