sed 's/attrcolor b ".I"/#attrcolor b ".I"/' screenrc > screenrc.tmp
mv screenrc.tmp screenrc
fi
+# Display current battery charge on computers with a battery. Necessary lines
+# are marked as "(BATTERY)".
+if [ ! -d /sys/class/power_supply/BAT0 ]; then
+ echo screenrc: removing battery display
+ grep -v '(BATTERY)' screenrc > screenrc.tmp
+ mv screenrc.tmp screenrc
+fi
# Link setup for shells.
link shell ~/.shell