diff --git a/settrans b/settrans index ebe6c834..5c4984d8 100755 --- a/settrans +++ b/settrans @@ -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" \