dr. Dan

Joined: 20 Apr 2015 Posts: 96 Location: Oregon, U.S.A.
|
Posted: Fri 22 May 2020, 21:20 Post subject:
Fatdog battery applet 2 Subject description: Added functionality to the existing Fatdog utility |
|
Greetings all,
By request, I'm starting a new thread for this. From my other post: Quote: | I've wanted to get more information from the battery icon in the tray for a long time, so I started adding to the fatdog-battery-applet.sh script to make it more to my liking. I don't know that much about shell scripting, but I know more now than before. The script attached below seems to work fairly well. I've tried it on Dell, Gateway/Acer, HP, and Toshiba laptops. I'd appreciate any additional brand-based evaluation.
The script wants configuration files lowbatt, criticalbatt and shutdown in ~/.config/battery_level/, and refers to an as-yet-nonexistant fatdog-power-settings.sh which I envision as being able to set a variety of battery and power usage parameters. Since it doesn't yet exist, sit ignores it.
The code could be more elegant, and I plan to improve it, or incorporate any suggestions I receive, over time. For example, I'll eventually want to simplify the tooltip section, perhaps use a single configuration file, and improve the battery health presentation.
If it is successful and practical, it could be packaged with preset parameters in the appropriate locations, but I haven't figured that bit out yet.
Any feedback is appreciated. |
step has replied with some basic and very helpful information that I will incorporate soon and post back. In the mean time, as I wrote before, any feedback is appreciated.
Note: depends on dash and sit.
Dan
Description |
|

Download |
Filename |
fatdog-battery-applet-2.sh.tar.gz |
Filesize |
2.53 KB |
Downloaded |
216 Time(s) |
Description |
|
Filesize |
11.73 KB |
Viewed |
135 Time(s) |

|
Description |
|
Filesize |
14.3 KB |
Viewed |
135 Time(s) |

|
|