aboutsummaryrefslogtreecommitdiff
path: root/screen/batinfo
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2015-08-18 02:43:27 +0200
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2015-08-18 02:43:27 +0200
commitde81781c8e860fe05ee9c68b3a20b39a12a33f9d (patch)
tree199576bd5c9ba09ad24920b84ac0312891de75af /screen/batinfo
parent22dd430af7fefe87c7777b8099a908af2d06ad6e (diff)
downloaddotfiles-de81781c8e860fe05ee9c68b3a20b39a12a33f9d.tar.gz
dotfiles-de81781c8e860fe05ee9c68b3a20b39a12a33f9d.tar.bz2
dotfiles-de81781c8e860fe05ee9c68b3a20b39a12a33f9d.zip
remove old screen confs
Diffstat (limited to 'screen/batinfo')
-rwxr-xr-xscreen/batinfo13
1 files changed, 0 insertions, 13 deletions
diff --git a/screen/batinfo b/screen/batinfo
deleted file mode 100755
index 3366c1f..0000000
--- a/screen/batinfo
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-#batinfo
-stat=` acpi | tr -s , | cut -d -f4 `
-pct=` acpi | tr -s , | cut -d -f5 `
-
-color="^E{k.}"
-case $stat in
- discharging) color="^E{kr}" ;;
- charging) color="^E{kg}" ;;
- *) color="^E{k.}" ;;
-esac
-
-echo "$color$pct^E{-}($color$stat^E{-})"