timproved wmutils scripts - scripts - various script and utils
 (HTM) git clone git://z3bra.org/scripts
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) commit c9f35d0c264261bda96e4a04f5050dc711aeef64
 (DIR) parent a5234b88fbe76e3fe0f45a081fba4e59dc2c792c
 (HTM) Author: z3bra <willy@mailoo.org>
       Date:   Mon, 30 Mar 2015 22:57:39 +0200
       
       improved wmutils scripts
       
       Diffstat:
         M groaw                               |       2 +-
         M vroum                               |       8 ++++----
         M yawee                               |       4 ++--
       
       3 files changed, 7 insertions(+), 7 deletions(-)
       ---
 (DIR) diff --git a/groaw b/groaw
       t@@ -3,7 +3,7 @@
        # z3bra - 2014 (c) wtfpl
        # groaw - group, organize and arrange windows (or just a bear behind you)
        
       -GROOT=$HOME/.groaw.d
       +GROOT=/tmp/groaw.d
        GNUMBER=3
        
        usage() {
 (DIR) diff --git a/vroum b/vroum
       t@@ -4,14 +4,14 @@
        # window focus wrapper that sets borders and can focus next/previous window
        
        BW=${BW:-2}                    # border width
       -ACTIVE=${ACTIVE:-0xcc6464}     # active border color
       -INACTIVE=${INACTIVE:-0x433333} # inactive border color
       +ACTIVE=${ACTIVE:-0xffffff}     # active border color
       +INACTIVE=${INACTIVE:-0x323232} # inactive border color
        
        # get current window id
        CUR=$(pfw)
        
        usage() {
       -    echo "usage: $(basename $0) <next|prev|wid>"
       +    echo "usage: $(basename $0) <next|prev|wid>" >&2
            exit 1
        }
        
       t@@ -43,5 +43,5 @@ test -z "$wid" && { echo "$(basename $0): no window to focus" >&2; exit 1; }
        
        chwso -r $wid           # put it on top of the stack
        wtf $wid                # set focus on it
       -#setborder active $wid   # activate the new window
       +setborder active $wid   # activate the new window
        setborder inactive $CUR # set inactive border on current window
 (DIR) diff --git a/yawee b/yawee
       t@@ -3,8 +3,8 @@
        while IFS=: read ev wid; do
            case $ev in
                # window creation
       -        16) wattr o $wid \
       -                && chwb -s 2 -c 0x564444 $wid \
       +        16) wattr m $wid && wattr o $wid \
       +                && chwb -s 2 -c 0x444444 $wid \
                        || { corner md $wid; vroum $wid; } ;;
        
                # focus next window when deleting focused window