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