Hello everyone,
I'm reaching out to you because there's a task I can't seem to do on nickelmenu.
I have a Libra 2 with a Logitech r500, and I need to use kobo-libra2-uhid-module.
I can activate this module with nickelmenu, but I'd like to activate Bluetooth at the same time.
In my configuration, I have:
menu_item :main :Bluetooth Patch (toggle) :cmd_output :500:quiet :rmmod -w /mnt/onboard/.adds/kobo-libra2-uhid-module/uhid.ko
chain_success: skip:3
chain_failure :cmd_spawn :quiet :exec /mnt/onboard/.adds/kobo-libra2-uhid-module/run.sh
chain_success :dbg_toast :insmod uhid.ko successfully
chain_always :skip:-1
chain_success :dbg_toast :rmod -w uhid.ko successfully
menu_item :main :Bluetooth On & Connect Logitech R500 :nickel_bluetooth :enable
chain_success :cmd_spawn :sleep 3 && bluetoothctl connect (my mac adress)
Does anyone know how to merge the two “menu_item” so that all these commands are launched at once?
Thanks in advance.
|