summaryrefslogtreecommitdiff
path: root/.dwmSession.sh
diff options
context:
space:
mode:
authorjulian T <julian@jtle.dk>2019-02-02 17:23:53 +0100
committerjulian T <julian@jtle.dk>2019-02-02 17:23:53 +0100
commit489aeecfdd9d8938669e25961f43df287c4e9bcd (patch)
treeb2560dde94fb1b9a5e851ab82e0d609fdd9304a2 /.dwmSession.sh
parentadc0806cdda2673910483a4266265eb9103da1c8 (diff)
Moved to stow
Diffstat (limited to '.dwmSession.sh')
-rwxr-xr-x.dwmSession.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/.dwmSession.sh b/.dwmSession.sh
deleted file mode 100755
index 2c427b8..0000000
--- a/.dwmSession.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-PIDFILE=/home/julian/.dwmSession.pid
-
-kill `cat $PIDFILE`
-
-if [ "$1" = "-e" ]; then
- exit
-fi
-
-echo $$ > $PIDFILE
-
-while true; do
-
- BATT=$( acpi -b | sed 's/.*[charging|unknown], \([0-9]*\)%.*/\1/gi' )
- TIME=$(/bin/date +"%H:%M")
- IP=$(hostname -i)
-
- xsetroot -name "$IP $TIME $BATT%"
- sleep 10
-done