diff --git a/custom notifications.lua b/custom_notify.lua similarity index 89% rename from custom notifications.lua rename to custom_notify.lua index da0bcb2..c545b97 100644 --- a/custom notifications.lua +++ b/custom_notify.lua @@ -1,7 +1,7 @@ -debug = true +local debug_mode = false local function debug_print(message) - if debug == true then + if debug_mode == true then Printf(tostring(message)) end end @@ -18,7 +18,7 @@ local function split_first(inputstr, sep) return first, rest end -local function main(display_handle, args) +local function notification(display_handle, args) if args then timeout = 5 local timeoutStr, message = split_first(args, ";") @@ -38,4 +38,4 @@ local function main(display_handle, args) end end -return main \ No newline at end of file +return notification \ No newline at end of file diff --git a/custom notifications.xml b/custom_notify.xml similarity index 77% rename from custom notifications.xml rename to custom_notify.xml index 87ecfae..9d4f90b 100644 --- a/custom notifications.xml +++ b/custom_notify.xml @@ -1,6 +1,6 @@  - +