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