tuse mkb to create a nice volumebar for popups - scripts - various script and utils
(HTM) git clone git://z3bra.org/scripts
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 45914312c6c8fb049def1bfc2f441edf286b9b8b
(DIR) parent 4333e57df94e40bb75761bd7ca04279618a733f2
(HTM) Author: z3bra <willy@mailoo.org>
Date: Thu, 5 Feb 2015 14:13:14 +0100
use mkb to create a nice volumebar for popups
Diffstat:
A volumebar | 9 +++++++++
1 file changed, 9 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/volumebar b/volumebar
t@@ -0,0 +1,9 @@
+#!/bin/sh
+
+C1='%{F#ffffffff}+'
+C2='%{F#ff333333}+'
+C3='%{F#ffcc6464}+'
+
+test "$(volume -s)" = "off" && C1="$C3"
+
+volume | SIZE=24 CHAR1=$C1 CHAR2=$C2 mkb