refactor settrans
This commit is contained in:
parent
ca5ef3978e
commit
c4089805ed
6
settrans
6
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" \
|
||||
|
|
Loading…
Reference in New Issue