A desktop widget engine to easily add HTML/JS widgets to your desktop.
Programmed with Glide.
Add new widgets by adding .html files to the apps
directory.
Press shift_right
to toggle widget visibility.
Lightsheets is precompiled with resources like Bootstrap, these resources can be used in widgets.
Resource | Type | |
---|---|---|
Bootstrap 4.1.1 | CSS/JS | https://getbootstrap.com/docs/4.1/getting-started/introduction/ |
JQuery 3.5.1 | JS | https://jquery.com/ |
Daemonite's Material 4.1.1 | CSS | https://daemonite.github.io/material/ |
Material Icons | Font | https://fonts.google.com/icons?selected=Material+Icons |
Popper 1.14.3 | JS | https://popper.js.org/ |
Roboto | Font | https://fonts.google.com/specimen/Roboto |
Lightsheets comes with 4 example widgets that can be found here.
You can call several functions from the default API to activate scripts.
To open a webpage url in your default browser.
pywebview.api.openUrl("https://dontdalon.com")
To open/start a local file.
pywebview.api.startApp("C:\Users\storm\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Discord Inc\Discord.lnk")
pywebview.api.doCommand("Rundll32.exe user32.dll,LockWorkStation")
To open a webpage url in a new lightsheet window.
pywebview.api.openChild("https://www.google.nl/maps")
To show all widgets.
pywebview.api.show()
To hide all widgets.
pywebview.api.hide()
To minimize all widgets.
pywebview.api.minimize()
To turn lightsheets off.
pywebview.api.close()
To reload lightsheets. Useful to quickly restart lightsheets after adding new widgets.
pywebview.api.reload()