tRemoved .sh extension - scripts - various script and utils
(HTM) git clone git://z3bra.org/scripts
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit ce9ab30db7657ff32b273bd760c249256d10bbc4
(DIR) parent f04b62b7eea101104e3352e7047e166ed4947784
(HTM) Author: z3bra <willy@mailoo.org>
Date: Thu, 3 Apr 2014 10:40:36 +0200
Removed .sh extension
Diffstat:
R battery.sh -> battery | 0
R dualhead.sh -> dualhead | 0
R gamma.sh -> gamma | 0
D statusline.sh | 29 -----------------------------
4 files changed, 0 insertions(+), 29 deletions(-)
---
(DIR) diff --git a/battery.sh b/battery
(DIR) diff --git a/dualhead.sh b/dualhead
(DIR) diff --git a/gamma.sh b/gamma
(DIR) diff --git a/statusline.sh b/statusline.sh
t@@ -1,29 +0,0 @@
-#!/bin/bash
-#
-# status line for tmux.
-# prints out a line formatted for tmux status.
-
-
-w='#[fg=yellow,bold]'
-B='#[fg=black,bold]'
-
-SEP="$w»$B"
-# SEP="$w>$B>$B"
-
-
-TEMP=$(acpi -t | awk '{print $4}')
-LOAD=$(uptime | sed 's/^.*average: \([^ ]*\),.*$/\1/')
-TIME=$(date "+%H:%M")
-DATE=$(date "+%a%d")
-
-ramused() {
- ramtotal=$(free -m| sed -n '2p'| awk '{print $2}')
- ramused=$(free -m| sed -n '3p'| awk '{print $3}')
-
- ram_perc=$(( 100*$ramused/$ramtotal ))
- echo $ram_perc
-}
-
-
-echo "$B$(ramused)% $SEP $LOAD $SEP $TEMP°C $SEP $DATE $w$TIME"
-