aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2023-12-11 19:48:36 +0000
committerdakkar <dakkar@thenautilus.net>2023-12-11 19:48:36 +0000
commit2caaa7775822fa70781b9052eb9770fec5a159be (patch)
tree9af68a1521d96f85cce42b09f5ed3328e4eb62a3
parentsamsung laptop is 1920×1080 (diff)
downloadfvwm-crystal-laptop.tar.gz
fvwm-crystal-laptop.tar.bz2
fvwm-crystal-laptop.zip
support trayer-srglaptop
-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