diff --git a/motd.sh b/motd.sh new file mode 100755 index 0000000..4810701 --- /dev/null +++ b/motd.sh @@ -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