1

I have written a custom script that will do as shown below: Script: #!/usr/bin/env bash while true do export DISPLAY=:0.0 battery_percent=$(acpi -b | grep -P -o '[0-9]+(?=%)') if on_ac_power; then if [ "$battery_percent" -gt 98 ]; then notify-send --app-name=battery "Battery full." "Level: ${battery_percent}% " fi ...


Only top voted, non community-wiki answers of a minimum length are eligible