From 16fb12c35ea3a89d3f35c7725e04994e93a407a3 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 1 Jan 2025 17:41:01 -0800 Subject: added gitignore --- lua/sleep.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lua/sleep.lua (limited to 'lua/sleep.lua') diff --git a/lua/sleep.lua b/lua/sleep.lua new file mode 100644 index 0000000..bba30f2 --- /dev/null +++ b/lua/sleep.lua @@ -0,0 +1,11 @@ +local function set_brightness() + mp.set_property_number("brightness", -50) + mp.commandv("seek", "20", "relative") +end + +local function init() + mp.set_property_bool("pause", true) +end + +mp.add_key_binding(nil, "test", set_brightness) +init() -- cgit v1.2.3