summaryrefslogtreecommitdiff
path: root/.dwmSession.sh
diff options
context:
space:
mode:
Diffstat (limited to '.dwmSession.sh')
-rwxr-xr-x.dwmSession.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/.dwmSession.sh b/.dwmSession.sh
index 5e9b4e3..2c427b8 100755
--- a/.dwmSession.sh
+++ b/.dwmSession.sh
@@ -13,7 +13,8 @@ while true; do
BATT=$( acpi -b | sed 's/.*[charging|unknown], \([0-9]*\)%.*/\1/gi' )
TIME=$(/bin/date +"%H:%M")
+ IP=$(hostname -i)
- xsetroot -name "$TIME $BATT%"
+ xsetroot -name "$IP $TIME $BATT%"
sleep 10
done