summaryrefslogtreecommitdiff
path: root/.dwmSession.sh
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2018-12-20 17:52:30 +0100
committerJulian T <julian@jtle.dk>2018-12-20 17:52:30 +0100
commit613377643780dac31ceca30908e16157bb4dd5ce (patch)
tree3e4aa3ff7baa94b29368647079225db28a9ddf11 /.dwmSession.sh
parentb9337a198bc97ab03f5465b0eed3dd4ce1f93256 (diff)
parent8f0cb15b558a403f79864f3d624c5e5d883b7c07 (diff)
Merge https://github.com/jbjjbjjbj/newDotFiles
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