Skip to content

Commit

Permalink
Merge pull request chjj#273 from Corax26/trans-c-fix
Browse files Browse the repository at this point in the history
Fix compton-trans -c
  • Loading branch information
richardgv committed Mar 29, 2015
2 parents 663e1a1 + e4c0b83 commit 5a00ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/compton-trans
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ while test $# -gt 0; do
s) wprefix=''; window='' ;;
c)
active=$(xprop -root -notype _NET_ACTIVE_WINDOW \
| sed 's/^.*\(0x\S*\).*$/\1/')
| grep -Eo '0x[[:xdigit:]]+' | head -n 1)
wprefix='-id'; window=$active
;;
r) action='reset' ;;
Expand Down

0 comments on commit 5a00ada

Please sign in to comment.