aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2023-12-11 19:48:36 +0000
committerdakkar <dakkar@thenautilus.net>2025-03-24 17:16:28 +0000
commit47b815a92c87db35648cae92b9ef4993edcaae3c (patch)
tree0b4acf8d0a608b1f0de1e349448d5f24efb6f9e5
parentbetter colours (diff)
downloadfvwm-crystal-47b815a92c87db35648cae92b9ef4993edcaae3c.tar.gz
fvwm-crystal-47b815a92c87db35648cae92b9ef4993edcaae3c.tar.bz2
fvwm-crystal-47b815a92c87db35648cae92b9ef4993edcaae3c.zip
support trayer-srgHEADmaster
-rw-r--r--components/functions/NotificationAreaManager-trayer-srg32
-rw-r--r--preferences/NotificationAreaManager2
2 files changed, 33 insertions, 1 deletions
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 <dominique_libre@users.sourceforge.net>
+# for FVWM-Crystal, 2013
+#
+# Version with parameters instead of the environment
+
+# Trayer Syntax:
+# NotificationAera [widthtype <request|pixel|percent>] [heighttype <request|pixel|percent>] \
+# [height <size>] [edge <left|right|top|bottom|none>] [align <left|right|center>] \
+# [margin <n pixels>] [distance <n pixels>] [width <size>]
+
+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