Uploaded motd.sh

This commit is contained in:
rintyuu 2024-03-30 00:34:17 -07:00
parent c6075c72d2
commit 4f7273af99

5
motd.sh Executable file
View file

@ -0,0 +1,5 @@
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