scripts

various script and utils
git clone git://z3bra.org/scripts
Log | Files | Refs

commit 11089450e8219f68256228a435da2956d54f57ac
parent 12a28580b7834b977cf6ffe3ccf59357ff4fdaad
Author: z3bra <willy@mailoo.org>
Date:   Tue May  6 15:27:01 +0200

Changed popup look a bit

Diffstat:
popup | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/popup b/popup @@ -15,9 +15,10 @@ hl="#ff333333" IFS=' x' read x y <<< `xrandr | grep '*' | sed 1q | awk '{print $1}'` -width=120 +width=144 height=20 offx=$(( x/2 - $width - 74 )) +offx=740 offy=10 geom=${width}x${height}+${offx}+${offy} @@ -27,8 +28,8 @@ usage() { } spawn() { - prefix='%{F#fffffe00} %{F-}' - (echo "%{c}${prefix} $@";sleep $SLEEP) | bar -g $geom -f $font -B $bg -F $fg + prefix='%{F#fffffe00}  %{F-}' + (echo "%{l}${prefix} $@";sleep $SLEEP) | bar -g $geom -f $font -B $bg -F $fg } loop() { @@ -127,6 +128,6 @@ case $1 in ;; esac -# can be *REALLY* annoying +# that beep can be *REALLY* annoying test -n "$BEEP" && beep -f 1500 -d 20 -l 100 test -n "$LOOP" && loop "$FUNC" || spawn "$TEXT"