Commit Graph

25 Commits

Author SHA1 Message Date
Alexander 38ba67b4fa Only lists connected devices in disconnect menu
Does not list all paired devices anymore
Also, if there is only one connected device,
immedieately disconnect that device
	modified:   README.md
	modified:   bt
2020-07-06 12:32:16 +02:00
Alexander 231e9bb37b disconnects the one device if only one is paired 2020-07-06 12:06:41 +02:00
Alexander e1fe5f134a slowed down startup again, breaks scan otherwise 2020-07-05 19:45:12 +02:00
Alexander bbad7146b3 fixed bug where power option is not displayed 2020-07-05 15:24:19 +02:00
Alexander b061212d81 sped up menu display when controller unpowered 2020-07-05 15:21:24 +02:00
Alexander 0e491681f4 better structure in README 2020-07-05 11:29:12 +02:00
Alexander cea71f9d36 fixed power off action not working 2020-07-04 22:04:00 +02:00
Alexander 320ff39885 added option to disable autoscan 2020-07-04 21:44:00 +02:00
Alexander 96d6f631d1 only show disconnect option if devices are connected 2020-07-04 21:36:11 +02:00
Alexander 06dd5537f7 rearranged actions in a more logical order 2020-07-04 21:01:57 +02:00
Alexander c1508ba5f6 added hidden blacklist menu 2020-07-04 20:50:23 +02:00
Alexander 898ea9dc74 updated hardcoded pairlist via btctl paired-devices 2020-07-04 20:46:36 +02:00
Alexander 01d0375225 clened up debugging messages 2020-07-04 20:36:05 +02:00
Alexander 2736f9bd99 increased reliability of pairing and unpairing
the pairlist now works again as intended.
furthermore more correct handling for special
cases like first/last device added.
2020-07-04 20:27:25 +02:00
Alexander 0edc5b51fb fix scanning for devices broke pairing 2020-06-29 15:19:25 +02:00
Alexander f2d69e7759 Reimplemented trust option
Is enabled by default, autotrust is disabled by default
2020-06-28 14:43:34 +02:00
Alexander f38b841d2d connecting is now possible again (sry) 2020-06-28 14:38:32 +02:00
Alexander f70de55ec9 removes unnecessary power option depending on power state 2020-06-28 14:04:09 +02:00
Alexander 28661c0ab3 implemented trust menu and autotrust 2020-06-09 20:20:35 +02:00
Alexander 3dbb35c5e5 fix first action and last paired device being listed as one option 2020-06-09 18:57:47 +02:00
Alexander cacd807a9c cleanup 2020-06-09 18:33:27 +02:00
Alexander 5729ed7c51 added immediate scan start on menu launch, rescan now available in paring menu 2020-06-09 18:20:51 +02:00
Alexander 5d2affc8e0 fix unpair feature 2020-06-08 21:53:13 +02:00
Alexander c18a45b38b MAJOR UPDATE: Improved reliability
removed unnecesarry temp files, cleaned up code via shellcheck.
Uses a hardcoded paired-devices list because bluetoothctl paired-devices
seems like utter garbage.
2020-06-08 21:29:02 +02:00
Alexander 4e36aba9cb renamed bthandler to bt, added hardcoded paired_devices file since "bluetoothctl paired-devices" seems unreliable 2020-06-07 20:56:01 +02:00