Debian Codegraph @

fvwm/components/functions/NotificationAreaManager-stalonetray

raw
1 # Support for stalonetray
2 # Written by: Dominique Michel <[email protected]>
3 # for FVWM-Crystal, 2013
4 #
5 # Version with parameters instead of the environment
6
7 # Stalone Syntax:
8 # NotificationAera [icon-size <size>] [geometry <width (icons)>x<height (icons)><x (pixels)><y (pixels)>] > \
9 # [icon-gravity <NW|NE|SW|SE>] [button geometry <pixels>x<pixels><x (pixels)><y (pixels>]
10
11 AddToFunc ExitFunction I Exec exec killall stalonetray
12 #AddToFunc RestartFunction I Exec exec killall stalonetray
13 #PipeRead 'killall -9 stalonetray'
14
15 PipeRead 'echo "SetEnv TrayerTintS $(echo $[TrayerTint]|sed -e \'s:0[Xx]:#:\')"'
16 PipeRead 'echo "SetEnv TrayerAlphaS $((256 - $[TrayerAlpha]))"'
17
18 # Settings of Stalone {{{1
19 DestroyFunc FvwmStalonePanel
20 AddToFunc FvwmStalonePanel
21 + I Exec exec killall -9 stalonetray
22 + I DestroyModuleConfig FvwmStalonePanel: *
23 + I *FvwmStalonePanel: Frame 0
24 + I *FvwmStalonePanel: BoxSize smart
25 + I *FvwmStalonePanel: Font none
26 + I *FvwmStalonePanel: ActiveColorset $[infostore.cs_panel_inactive]
27 + I *FvwmStalonePanel: Colorset $[infostore.cs_panel_active]
28 + I *FvwmStalonePanel: Columns 1
29 + I *FvwmStalonePanel: Rows 1
30 + I *FvwmStalonePanel: (1x1, Padding 0 0, Swallow (NoClose) "stalonetray" 'Exec exec stalonetray \
31 --decorations none \
32 --window-type dock \
33 --transparent true \
34 --tint-color \'$[TrayerTintS]\' \
35 --tint-level $[TrayerAlphaS] \
36 --no-shrink true \
37 --kludges force_icons_size \
38 --icon-size $[0] \
39 --geometry $[1]x$[2]$[3]$[4] \
40 --icon-gravity $[5] $[infostore.SILENT]')
41 + I Module FvwmButtons -g $[6]x$[7]$[8]$[9] FvwmStalonePanel
42 + I Style FvwmStalonePanel ParentalRelativity, !Icon
43 + I Style stalonetray !Title, !Borders, !Icon
44 # Debug
45 #+ I Echo NotifArea stalone $*
46 #--parent-bg true \
47
48 # vim:ft=fvwm