refactor settrans

This commit is contained in:
Christopher Jeffrey 2012-02-06 02:16:49 -06:00
parent ca5ef3978e
commit c4089805ed
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
# transset in a bash script
# copyright (c) 2011, christopher jeffrey
# copyright (c) 2011-2012, christopher jeffrey
# usage:
# by window id
@ -27,8 +27,8 @@ root=
parent=
active=
while getopts "scn:w:o:" OPTION; do
case "$OPTION" in
while getopts "scn:w:o:" option; do
case "$option" in
s) window="" ;;
c)
active=$(xprop -root -notype "_NET_ACTIVE_WINDOW" \