mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-07 19:49:53 -05:00
changed details to individual values
This commit is contained in:
parent
bc7a76cdd0
commit
9fe54377df
3 changed files with 126 additions and 51 deletions
|
|
@ -32,11 +32,12 @@ mez.input.add_keymap("alt", "q", {
|
|||
|
||||
mez.input.add_keymap("alt", "v", {
|
||||
press = function ()
|
||||
local id = mez.view.get_focused_id()
|
||||
local id = mez.output.get_focused_id()
|
||||
|
||||
local details = mez.view.get_details(id);
|
||||
print(details.title);
|
||||
print(details.app_id);
|
||||
print(mez.output.get_name(id))
|
||||
print(mez.output.get_serial(id))
|
||||
print(mez.output.get_model(id))
|
||||
print(mez.output.get_make(id))
|
||||
end
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue