Debian Codegraph @

fvwm/components/functions/BlingBling

raw
1 # Function Bling bling for FVWM-Crystal
2 #
3 # Version: 0.9.1
4 # License: GPL 3+
5 #
6 # Author: Dominique Michel <[email protected]>
7 #
8 # Created: 15/05/2013
9 # Changed: 18/05/2013
10 #
11 # Description: This function will change the windows translucency
12 # with focus change. Original idea: Gronono on the gentoo forum
13 # http://forums.gentoo.org/viewtopic-t-606068.html?sid=5dea73ee0b5eeda5a75999520455e577
14 #
15 # Warning: Translucency is not supported by FVWM.
16 # Keap this file version below 1.0.0 because of that.
17
18 # Set last focused window translucent, and focused window opaque
19 DestroyFunc FvwmTranslucensyChange
20 AddToFunc FvwmTranslucencyChange
21 + I ThisWindow (!FvwmButtons*, !ApplicationPanel, !FvwmPager*, !FvwmIconMan*, !Iconic) Exec $[FVWM_SYSTEMDIR]/scripts/SetTranslucency $[LastFocus] $[w.id]
22 + I ThisWindow (!FvwmButtons*, !ApplicationPanel, !FvwmPager*, !FvwmIconMan*, !Iconic) SetEnv LastFocus $[w.id]
23
24 # FvwmEvent config
25 DestroyModuleConfig FvwmTranslucencyChangeEvent: *
26 *FvwmTranslucencyChangeEvent: focus_change FvwmTranslucencyChange
27
28 # Start it, from the menu for now.
29 #AddToFunc StartFunction
30 #+ I Module FvwmEvent FvwmTranslucencyChangeEvent
31
32 # vim:ft=fvwm