Alexander
cf12d60cd3
externalize config from script
2021-07-02 13:21:13 +02:00
Alexander
0e480a3e2d
fix non-display of "disconnect" action. Add option to enable this
2021-07-02 11:28:06 +02:00
Alexander
c262c29072
slight speed-up
2021-07-02 11:22:00 +02:00
Alexander
30d11324aa
show " 🔗 " next to connected devices
2021-07-02 11:02:13 +02:00
Alexander
e8681be5e7
return to old scan state
2021-06-29 16:40:32 +02:00
Alexander
2b950cf60d
more reliable re-pairing
2021-06-29 16:33:08 +02:00
Alexander
82e4b34438
old tmp files removed at cleanup, not startup
2021-06-29 16:22:41 +02:00
Alexander
e422134b70
aliases work in disconnect menu
2021-06-29 14:32:36 +02:00
Alexander
ae1e636514
fix re-pairing for hardcoded devices
2021-06-29 13:21:22 +02:00
Alexander
f74f5b88b7
move bin to /usr/local/bin and configs to .config
2021-06-29 13:20:41 +02:00
Alexander
b77d701595
added alias file
2021-06-28 20:10:16 +02:00
Alexander
11689c2e22
fixed pairing issue
2021-06-20 17:19:57 +02:00
Alexander
dfa24a8967
added edit option
2021-04-23 10:12:43 +02:00
Alexander
65e57ca2da
fixed pairing crash
2021-04-17 15:45:40 +02:00
Alexander
2726f0c0fd
speed up in code execution, less copied code
2021-01-01 22:47:50 +01:00
Alexander
115a89b5c6
added statusbar signal updater
2020-09-30 15:33:47 +02:00
Alexander
05fe04e638
only list successfully paired devices
2020-07-28 21:39:21 +02:00
Alexander
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
Alexander
cbd1b2f83d
selecting connected device disconnects it
2020-07-23 20:47:11 +02:00
Alexander
ef42241838
remove unnecessary error message from stdout
2020-07-11 19:20:20 +02:00
Alexander
4dc917aad7
readded cleanup routine
2020-07-10 11:39:13 +02:00
Alexander
e7c2e1437b
sped up start up using temp files (could be better)
2020-07-10 11:37:04 +02:00
Alexander
774c5f7d1c
only attempt to pair on connect if necessary
2020-07-07 12:24:46 +02:00
Alexander
47f83247e4
fixed weird formatting in catchall case
...
removed debugging prints
modified: bt
2020-07-06 16:19:26 +02:00
Alexander
234e781b6b
only list untrusted devices in trust menu
2020-07-06 12:39:22 +02:00
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