class Fuzz::RofiPicker
Public Instance Methods
pick(keys)
click to toggle source
# File lib/fuzz/rofi_picker.rb, line 3 def pick(keys) Fuzz::Executable.new("rofi").error_if_missing `echo "#{ keys.join("\n") }" | #{ command }`.strip end
Private Instance Methods
command()
click to toggle source
# File lib/fuzz/rofi_picker.rb, line 11 def command "rofi -show run -matching fuzzy -dmenu -i" end