dynamic overview shortcuts

This commit is contained in:
kepler155c@gmail.com
2018-12-10 10:33:56 -05:00
parent a6c8ecccd4
commit abec4a9740
2 changed files with 133 additions and 97 deletions

View File

@@ -108,6 +108,14 @@ function page:eventHandler(event)
args = { t.id },
title = t.label,
})
os.queueEvent('overview_shortcut', {
title = t.label,
category = "VNC",
icon = "\
\031e\\\031 \031e/\031dn\
\031e\\/\031 \0319c",
run = "vnc.lua " .. t.id,
})
elseif event.type == 'clear' then
Util.clear(network)
page.grid:update()