Commit Graph

37 Commits

Author SHA1 Message Date
65e57ca2da
fixed pairing crash 2021-04-17 15:45:40 +02:00
2726f0c0fd
speed up in code execution, less copied code 2021-01-01 22:47:50 +01:00
115a89b5c6
added statusbar signal updater 2020-09-30 15:33:47 +02:00
05fe04e638 only list successfully paired devices 2020-07-28 21:39:21 +02:00
dfac83a064 Increase boot up time if many devices are present
This will lead to less accurate behaviour with many devices listed in
bluetoothctl devices but otherwise the script becomes unbearably slow.
Remove head from the start up process if you wish to disable this
feature
2020-07-25 21:43:10 +02:00
cbd1b2f83d selecting connected device disconnects it 2020-07-23 20:47:11 +02:00
ef42241838 remove unnecessary error message from stdout 2020-07-11 19:20:20 +02:00
4dc917aad7 readded cleanup routine 2020-07-10 11:39:13 +02:00
e7c2e1437b sped up start up using temp files (could be better) 2020-07-10 11:37:04 +02:00
774c5f7d1c only attempt to pair on connect if necessary 2020-07-07 12:24:46 +02:00
47f83247e4 fixed weird formatting in catchall case
removed debugging prints

	modified:   bt
2020-07-06 16:19:26 +02:00
234e781b6b only list untrusted devices in trust menu 2020-07-06 12:39:22 +02:00
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
231e9bb37b disconnects the one device if only one is paired 2020-07-06 12:06:41 +02:00
e1fe5f134a slowed down startup again, breaks scan otherwise 2020-07-05 19:45:12 +02:00
bbad7146b3 fixed bug where power option is not displayed 2020-07-05 15:24:19 +02:00
b061212d81 sped up menu display when controller unpowered 2020-07-05 15:21:24 +02:00
0e491681f4 better structure in README 2020-07-05 11:29:12 +02:00
cea71f9d36 fixed power off action not working 2020-07-04 22:04:00 +02:00
320ff39885 added option to disable autoscan 2020-07-04 21:44:00 +02:00
96d6f631d1 only show disconnect option if devices are connected 2020-07-04 21:36:11 +02:00
06dd5537f7 rearranged actions in a more logical order 2020-07-04 21:01:57 +02:00
c1508ba5f6 added hidden blacklist menu 2020-07-04 20:50:23 +02:00
898ea9dc74 updated hardcoded pairlist via btctl paired-devices 2020-07-04 20:46:36 +02:00
01d0375225 clened up debugging messages 2020-07-04 20:36:05 +02:00
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
0edc5b51fb fix scanning for devices broke pairing 2020-06-29 15:19:25 +02:00
f2d69e7759 Reimplemented trust option
Is enabled by default, autotrust is disabled by default
2020-06-28 14:43:34 +02:00
f38b841d2d connecting is now possible again (sry) 2020-06-28 14:38:32 +02:00
f70de55ec9 removes unnecessary power option depending on power state 2020-06-28 14:04:09 +02:00
28661c0ab3 implemented trust menu and autotrust 2020-06-09 20:20:35 +02:00
3dbb35c5e5 fix first action and last paired device being listed as one option 2020-06-09 18:57:47 +02:00
cacd807a9c cleanup 2020-06-09 18:33:27 +02:00
5729ed7c51 added immediate scan start on menu launch, rescan now available in paring menu 2020-06-09 18:20:51 +02:00
5d2affc8e0 fix unpair feature 2020-06-08 21:53:13 +02:00
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
4e36aba9cb renamed bthandler to bt, added hardcoded paired_devices file since "bluetoothctl paired-devices" seems unreliable 2020-06-07 20:56:01 +02:00