6 lines
265 B
Bash
Executable file
6 lines
265 B
Bash
Executable file
# be sure to append this file to your /etc/profile config
|
|
echo
|
|
echo "Laptop battery: $(acpi | awk '{print $4,$3,$5,$6}')"
|
|
echo
|
|
echo "Backlight: $(brightnessctl g)/$(brightnessctl max) ($(echo "scale=2; $(brightnessctl g) / $(brightnessctl max) * 100" | bc)%)"
|
|
echo
|