Add tray to desktop.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 08 Jan 2014 17:29:54 +0200
changeset 675 c4512322cc85
parent 674 640bfe13ab7c
child 676 d2b22a080eb3
Add tray to desktop.
.fvwm/config
--- a/.fvwm/config	Fri Jan 03 22:33:44 2014 +0200
+++ b/.fvwm/config	Wed Jan 08 17:29:54 2014 +0200
@@ -98,11 +98,19 @@
 Style "Iceweasel"  StartsOnPage 1 0 0, SkipMapping
 Style "XClock"  !Title, Sticky, StaysOnTop, !Iconifiable, FixedPosition, FixedSize, WindowListSkip, CirculateSkip
 
+# DestroyStyle "stalonetray"
+Style "stalonetray" !Button 1, !Button 3, !Button 5
+Style "stalonetray" StaysOnTop, Sticky, !Iconifiable
+Style "stalonetray" FixedPosition, FixedSize
+Style "stalonetray" WindowListSkip, CirculateSkip
+Style "stalonetray" TitleFormat TRY
+
 # Run only on sturtup.
 DestroyFunc InitFunction
 AddToFunc InitFunction
 # Right offset: 80 from FvwmPager + 2*6 from border = 92.
 + I Exec  exec xclock -digit -update 1 -strftime '%m-%d %T %a' -padding 2 -geometry 130x16-92+0 -face Monospace-9 -bg gray
++ I Exec  exec stalonetray --geometry 1x16-$((130+92+24))+0
 + I Exec  exec emacs --name emacs-main
 + I Exec  exec m4_XTERM_MC(`mc-main1')
 + I Exec  exec goldendict
@@ -552,6 +560,7 @@
 DestroyFunc enter_handler
 AddToFunc enter_handler
 + I autohide FvwmPager 1000 N
++ I autohide stalonetray 1000 N
 
 AddToFunc StartFunction I Module FvwmAuto 1 -menter enter_handler