summaryrefslogtreecommitdiff
path: root/.dwmSession.sh
diff options
context:
space:
mode:
authorjulian T <julian@jtle.dk>2018-12-08 12:39:24 +0100
committerjulian T <julian@jtle.dk>2018-12-08 12:39:24 +0100
commit8f0cb15b558a403f79864f3d624c5e5d883b7c07 (patch)
tree37d5ba9ae7a16a8d3cd9baca8b04528708b64d04 /.dwmSession.sh
parentffd3d31e6123aa6d04915f5ed7af77104a6401c6 (diff)
Lots of new config and settings
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