23 lines
575 B
Lua
23 lines
575 B
Lua
-- custom-functions.lua
|
|
local C = {}
|
|
function C.startTimer()
|
|
-- TODO implement custom timer logic here
|
|
end
|
|
function C.MoveToDarkSpot()
|
|
local targetMonitor = "DP-9"
|
|
hl.dispatch(hl.dsp.window.move({monitor = targetMonitor, x = 0, y = 0}))
|
|
hl.exec_cmd("notify-send 'moved to " .. targetMonitor .. "'")
|
|
end
|
|
|
|
local function phoneSocket()
|
|
-- Determine phone socket connection
|
|
-- Determine wired or wireless state
|
|
-- If wired connect over cable and set phone socket
|
|
-- If wireless connect over socker
|
|
-- If not on network notify
|
|
end
|
|
|
|
function C.RemoteToPhone()
|
|
end
|
|
return C
|