Switch battery capacity and status

This commit is contained in:
Dita Aji Pratama 2025-09-01 10:32:01 +07:00
parent e5ffa98b80
commit c5e09a0c7f

2
aji.sh
View File

@ -51,8 +51,8 @@ elif [ "$1" == "bright" ] && [ "$2" == "down" ]; then
elif [ "$1" == "bright" ]; then elif [ "$1" == "bright" ]; then
echo $bright echo $bright
elif [ "$1" == "info" ]; then elif [ "$1" == "info" ]; then
xsetroot -name " Bright: $bright | Vol: $vol | $capacity% $status | $(date +'%a, %F %R') "
sleep 2 sleep 2
xsetroot -name " Bright: $bright | Vol: $vol | $status $capacity% | $(date +'%a, %F %R') "
xsetroot -name " DAP " xsetroot -name " DAP "
else else
echo "Invalid argument." echo "Invalid argument."