diff --git a/modules/events.lua b/modules/events.lua index 9b24e5a..1dd5f35 100644 --- a/modules/events.lua +++ b/modules/events.lua @@ -7,16 +7,25 @@ local appList = { } local localAppList +local desktopAppList = { + "wayvnc 0.0.0.0 --output=DP-1", +} +local laptopApplist = { + "way-edges", +} + if Hostname == "HACKSTATION" then -- If on desktop do desktop things - localAppList = { - "wayvnc 0.0.0.0 --output=DP-1", - } + localAppList = desktopAppList elseif Hostname == "mobile02" then -- If on laptop, do laptop things - localAppList = { - "way-edges", - } + localAppList = laptopApplist +elseif Hostname == "mobile03" then + -- If on other laptop, do other laptop things + localAppList = laptopApplist +else + -- Prevents null errors + localAppList = { "echo placeholder" } end for _, command in ipairs(localAppList) do