tdo not handle borders too much... - scripts - various script and utils
(HTM) git clone git://z3bra.org/scripts
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 8978083896701bf52995d95c24e7d9234b023c93
(DIR) parent 2dbc6468f8a33f50e543c994f74a2e16d81deab8
(HTM) Author: z3bra <willy@mailoo.org>
Date: Thu, 5 Feb 2015 14:09:42 +0100
do not handle borders too much...
Diffstat:
M vroum | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
---
(DIR) diff --git a/vroum b/vroum
t@@ -5,7 +5,7 @@
BW=${BW:-2} # border width
ACTIVE=${ACTIVE:-0xcc6464} # active border color
-INACTIVE=${INACTIVE:-0xffffff} # inactive border color
+INACTIVE=${INACTIVE:-0x433333} # inactive border color
# get current window id
CUR=$(pfw)
t@@ -41,9 +41,7 @@ esac
# exit if we can't find another window to focus
test -z "$wid" && { echo "$(basename $0): no window to focus" >&2; exit 1; }
-setborder inactive $CUR # set inactive border on current window
-setborder active $wid # activate the new window
chwso -r $wid # put it on top of the stack
wtf $wid # set focus on it
-#wmp -a $(wattr xyi $wid) # move the mouse cursor to
-#wmp -r $(wattr whi $wid) # .. its bottom right corner
+#setborder active $wid # activate the new window
+setborder inactive $CUR # set inactive border on current window