From 83e2cce12b57081853dfb541e5981358c6f12f44 Mon Sep 17 00:00:00 2001 From: Frank Villaro-Dixon Date: Sun, 7 Jul 2013 02:04:02 +0200 Subject: [PATCH] Cooler status bar dwm --- Utils/octopus.sh | 4 ++-- ssh/config | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Utils/octopus.sh b/Utils/octopus.sh index 094a0df..51c3a73 100755 --- a/Utils/octopus.sh +++ b/Utils/octopus.sh @@ -49,14 +49,14 @@ case $1 in ;; "refresh") - DATE=`date +"%A %d, %H:%M:%S - %s"` + DATE=`date +"%A %d, %H:%M - %s"` BATT_PCT=$(acpi -b | cut -d, -f2 | cut -d" " -f2) BATT_TIME=$(acpi -b | cut -d, -f3 | cut -d" " -f2) #BATT=$( acpi -b | sed 's/.*[charg.|], \([0-9]*\)%.*/\1/gi' ) VOLUME=`amixer get Master | tail -n 2 | head -n 1 | cut -d' ' -f7` MEM=`awk '/MemFree/ {printf( "%.0fMb", $2 / 1024 )}' /proc/meminfo` - xsetroot -name "$VOLUME :: $MEM :: $BATT_PCT $BATT_TIME :: $DATE" + xsetroot -name "Vol $VOLUME :: $MEM Free :: Bat $BATT_PCT $BATT_TIME :: $DATE" ;; "wallpaper") diff --git a/ssh/config b/ssh/config index 5bf94b0..167a69b 100644 --- a/ssh/config +++ b/ssh/config @@ -23,3 +23,8 @@ host bor-git host chaudiere port 222 + +host frank-tp + hostname 192.168.42.20 + port 1337 +