Quote:
Originally Posted by CyberPaul
Great! I will test.
Is it easy to invoke a .sh script from within nickelmenu? I'm a novice in that.
|
Fix grep issue and kill more processes.
Quote:
#!/bin/sh
# for connected BT device.
bluetoothctl disconnect
# for BT controller
bluetoothctl agent off
bluetoothctl power off
# for BT daemon
id=$(ps | grep '[/]libexec/bluetooth/bluetoothd' | awk '{print $1}'); kill $id
# for BT audio
id=$(ps | grep '[/]bin/bluealsa' | awk '{print $1}'); kill $id
|
It is easy to invoke script from NickelMenu. Unfortunately, my script can't work. The Bluetooth issue is not solved. I think maybe we lack something when we exit third-party and launch Kobo nickel again?