Timeline for Get low battery notifications for mouse earlier
Current License: CC BY-SA 4.0
25 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 29, 2023 at 13:42 | history | edited | Daniel Serodio | CC BY-SA 4.0 |
Add low battery emoji to notification
|
Dec 29, 2023 at 13:34 | comment | added | Daniel Serodio |
The script wasn't working for me because of missing $ in the BATT < COMPARE line. I just fixed it.
|
|
Dec 29, 2023 at 13:30 | history | edited | Daniel Serodio | CC BY-SA 4.0 |
Fix script (it was missing a dollar sign in the `$BATT < $COMPARE` expression), use $() for command interpolation and improve formatting
|
S Aug 3, 2021 at 0:33 | history | suggested | MichaelM | CC BY-SA 4.0 |
changed single to double quotes in last echo statement so variable is evaluated rather than treated as literal text $HIDThingy. Confirmed trackpad syntax to make 6 char min edit.
|
Aug 2, 2021 at 20:04 | review | Suggested edits | |||
S Aug 3, 2021 at 0:33 | |||||
Feb 19, 2021 at 13:51 | comment | added | Rez Moss | Verified works perfectly with macOS Big Sur, Thanks Will | |
S Nov 3, 2020 at 15:44 | history | suggested | jay613 | CC BY-SA 4.0 |
Bug fix in enhanced version of script - don't quit on absent device.
|
Nov 3, 2020 at 15:38 | review | Suggested edits | |||
S Nov 3, 2020 at 15:44 | |||||
S Nov 3, 2020 at 15:24 | history | suggested | jay613 | CC BY-SA 4.0 |
Added enhancement section at the end with new script that checks Keyboard and potentially other devices in addition to mouse. Considered creating new question instead but decided to stay here to take advantage of considerable detail already found in this answer.
|
Nov 3, 2020 at 15:14 | review | Suggested edits | |||
S Nov 3, 2020 at 15:24 | |||||
Nov 3, 2020 at 15:00 | comment | added | jay613 | @WillCain I'll try adding to your answer. Partly for experience, as I've never done that. Mainly because you provide so much detail about the end to end process, my new question and answer would either have to copy (plagiarize?) most of it verbatim, or just be a partial answer (my code only) and refer people here for all the idiot-proof detail. | |
Nov 2, 2020 at 23:22 | comment | added | Will | @jay613 that's a cool idea and a good question. Since it goes a little beyond the scope of the OP question, I think the write and answer a new question idea is a good choice. But if you post a suggested edit to my answer, I think I get a chance to review before it takes effect. You'd get +2 credit as an editor, vs. +10 per upvote if you wrote an answer. You could just add an answer here; if so I'd appreciate a mention for my contribution (if any) but that's really up to you. ;) Cheers. | |
Oct 30, 2020 at 18:14 | comment | added | jay613 | I modified the above script to check both mouse and keyboard, and it could check trackpad too with one very tiny change but I don't have one to test with. What is the best place to post my modification? Write and answer a new question? Edit this answer and add it to the end? It's too long to fit in a comment. | |
Aug 28, 2020 at 16:55 | history | edited | Will | CC BY-SA 4.0 |
Added compatibility notes
|
Aug 28, 2020 at 16:47 | comment | added | Will | Thanks for sharing the test results, @sirclesam. I suspect the first part most likely to break eventually would be the ioreg command or the piped commands that parse its output. | |
Aug 28, 2020 at 16:28 | comment | added | sirclesam | Verified this solution still works for Catalina 10.15.3. Thanks Will! | |
S Dec 10, 2018 at 9:50 | history | suggested | Nace | CC BY-SA 4.0 |
Added missing chmod command, corrected typos in file name
|
Dec 10, 2018 at 9:49 | review | Suggested edits | |||
S Dec 10, 2018 at 9:50 | |||||
Jun 14, 2018 at 12:38 | comment | added | Will | Incidentally a similar approach should work for Magic Keyboard. | |
Jun 12, 2018 at 12:56 | history | edited | Will | CC BY-SA 4.0 |
links
|
Jun 12, 2018 at 12:46 | history | edited | Will | CC BY-SA 4.0 |
fix script to add no mouse detection
|
Jun 11, 2018 at 22:07 | review | Late answers | |||
Jun 11, 2018 at 22:43 | |||||
Jun 11, 2018 at 21:57 | history | edited | Will | CC BY-SA 4.0 |
added intro
|
Jun 11, 2018 at 21:53 | review | First posts | |||
Jun 12, 2018 at 1:15 | |||||
Jun 11, 2018 at 21:51 | history | answered | Will | CC BY-SA 4.0 |