diff options
| author | ailurux <ailuruxx@gmail.com> | 2024-03-20 14:08:11 +1100 |
|---|---|---|
| committer | ailurux <ailuruxx@gmail.com> | 2024-03-20 14:08:11 +1100 |
| commit | 4293c488364171b4abf5d1dccac1a1fb55a42a31 (patch) | |
| tree | 17ccda344b5bfeb154aa762c13c44138418155e8 | |
| parent | 51dfb5b3e30caf823c2355ff957c01864f35f9f6 (diff) | |
| download | tangara-fw-4293c488364171b4abf5d1dccac1a1fb55a42a31.tar.gz | |
Fix bad merge
| -rw-r--r-- | lua/main.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lua/main.lua b/lua/main.lua index d84e2417..1a605dab 100644 --- a/lua/main.lua +++ b/lua/main.lua @@ -1,9 +1,14 @@ local font = require("font") local vol = require("volume") local theme = require("theme") +local controls = require("controls") +local time = require("time") + +local lock_time = time.ticks() -- Set up property bindings that are used across every screen. GLOBAL_BINDINGS = { + -- Show an alert with the current volume whenever the volume changes vol.current_pct:bind(function(pct) require("alerts").show(function() local container = lvgl.Object(nil, { |
