| 1 |
#!/bin/sh |
| 2 |
# E17-Bling helper script for FVWM-Crystal |
| 3 |
# |
| 4 |
# Version: 1.0.0 |
| 5 |
# License: GPL 3+ |
| 6 |
# |
| 7 |
# Author: Dominique Michel <[email protected]> |
| 8 |
# |
| 9 |
# Created: 15/05/2013 |
| 10 |
# Changed: 15/05/2013 |
| 11 |
# |
| 12 |
# Description: This function will change the windows translucency |
| 13 |
# with focus change. Original idea: Gronono on the gentoo forum |
| 14 |
# http://forums.gentoo.org/viewtopic-t-606068.html?sid=5dea73ee0b5eeda5a75999520455e577 |
| 15 |
# TODO: preferences for the translucency values. |
| 16 |
|
| 17 |
if [ "$1" != "$2" ]; then |
| 18 |
transset -i $1 -m 0.5 -x 0.5 |
| 19 |
transset -i $2 -m 1 -x 1 |
| 20 |
fi |
| 21 |
|
| 22 |
|