From 489aeecfdd9d8938669e25961f43df287c4e9bcd Mon Sep 17 00:00:00 2001 From: julian T Date: Sat, 2 Feb 2019 17:23:53 +0100 Subject: Moved to stow --- .dwmSession.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 .dwmSession.sh (limited to '.dwmSession.sh') 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 -- cgit v1.2.3