bin/rofi/bwmenu: add --field whole support
Mostly for shell script interop, so each field doesn't have to be independently fetched.
This commit is contained in:
parent
705a1fa30d
commit
60ca8b192b
|
@ -211,6 +211,7 @@ module BW
|
|||
end
|
||||
|
||||
def show_item item, field: nil
|
||||
return item.to_json if field == 'whole'
|
||||
preamble = {}
|
||||
data = {}
|
||||
case item['type']
|
||||
|
|
Loading…
Reference in a new issue