tuse more events in yawee - scripts - various script and utils
(HTM) git clone git://z3bra.org/scripts
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 9b4d822f28692f182a0240a1f244029bc70c55e7
(DIR) parent c8aa8dff2544c299d8fc551be2cf186ec3fb6ec9
(HTM) Author: z3bra <willy@mailoo.org>
Date: Thu, 2 Apr 2015 23:36:29 +0200
use more events in yawee
Diffstat:
M yawee | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/yawee b/yawee
t@@ -3,12 +3,15 @@
while IFS=: read ev wid; do
case $ev in
# window creation
- 16) wattr m $wid && wattr o $wid \
- && chwb -s 2 -c 0x444444 $wid \
- || { corner md $wid; vroum $wid; } ;;
+ 16) wattr o $wid || corner md $wid ;;
+
+ # mapping requests
+ 19) wattr o $wid \
+ && chwb -s 2 -c 0x323232 $wid \
+ || vroum $wid ;;
# focus next window when deleting focused window
- 18) wattr $(pfw) || vroum next 2>/dev/null;;
+ 18) wattr $(pfw) || vroum prev 2>/dev/null;;
# entering window
7) wattr o $wid || vroum $wid ;;