summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorailurux <ailuruxx@gmail.com>2024-03-20 14:08:11 +1100
committerailurux <ailuruxx@gmail.com>2024-03-20 14:08:11 +1100
commit4293c488364171b4abf5d1dccac1a1fb55a42a31 (patch)
tree17ccda344b5bfeb154aa762c13c44138418155e8 /lua
parent51dfb5b3e30caf823c2355ff957c01864f35f9f6 (diff)
downloadtangara-fw-4293c488364171b4abf5d1dccac1a1fb55a42a31.tar.gz
Fix bad merge
Diffstat (limited to 'lua')
-rw-r--r--lua/main.lua5
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, {