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
|
end
|
||||||
|
|
||||||
def show_item item, field: nil
|
def show_item item, field: nil
|
||||||
|
return item.to_json if field == 'whole'
|
||||||
preamble = {}
|
preamble = {}
|
||||||
data = {}
|
data = {}
|
||||||
case item['type']
|
case item['type']
|
||||||
|
|
Loading…
Reference in a new issue