From 2caaa7775822fa70781b9052eb9770fec5a159be Mon Sep 17 00:00:00 2001 From: dakkar Date: Mon, 11 Dec 2023 19:48:36 +0000 Subject: support trayer-srg --- .../functions/NotificationAreaManager-trayer-srg | 32 ++++++++++++++++++++++ preferences/NotificationAreaManager | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 components/functions/NotificationAreaManager-trayer-srg diff --git a/components/functions/NotificationAreaManager-trayer-srg b/components/functions/NotificationAreaManager-trayer-srg new file mode 100644 index 0000000..795ce41 --- /dev/null +++ b/components/functions/NotificationAreaManager-trayer-srg @@ -0,0 +1,32 @@ +# Support for trayer-srg +# Written by: Dominique Michel +# for FVWM-Crystal, 2013 +# +# Version with parameters instead of the environment + +# Trayer Syntax: +# NotificationAera [widthtype ] [heighttype ] \ +# [height ] [edge ] [align ] \ +# [margin ] [distance ] [width ] + +AddToFunc ExitFunction I Exec exec killall trayer + +# Settings of Trayer {{{1 +DestroyFunc FvwmTrayerPanel +AddToFunc FvwmTrayerPanel ++ I Exec exec trayer-srg \ +--SetDockType false \ +--widthtype $[0] \ +--heighttype $[1] \ +--height $[2] \ +--edge $[3] \ +--align $[4] \ +--transparent true \ +--alpha $[TrayerAlpha] \ +--tint $[TrayerTint] \ +--margin $[5] \ +--distance $[6] \ +$[7] $[infostore.SILENT] ++ I Style trayer-srg !Title, !Icon + +# vim:ft=fvwm diff --git a/preferences/NotificationAreaManager b/preferences/NotificationAreaManager index 3a9581b..d54b36e 100644 --- a/preferences/NotificationAreaManager +++ b/preferences/NotificationAreaManager @@ -1 +1 @@ -FindCommand NotificationAreaManager trayer trayer stalonetray +FindCommand NotificationAreaManager trayer-srg trayer stalonetray -- cgit v1.2.3