Display xclock. fvwm
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 18 Dec 2011 18:14:40 +0200
branchfvwm
changeset 423 a390aa4a553b
parent 422 d7662dacd748
child 424 1e3802e511df
Display xclock.
.fvwm/config
--- a/.fvwm/config	Sun Dec 18 16:44:16 2011 +0200
+++ b/.fvwm/config	Sun Dec 18 18:14:40 2011 +0200
@@ -400,6 +400,7 @@
 Style "mc-main1"  StartsOnPage 0 1 0, SkipMapping
 Style "mc-main2"  StartsOnPage 0 2 0, SkipMapping
 Style "goldendict"        StartsOnPage 3 1 2, SkipMapping
+Style "XClock"  !Title, Sticky, StaysOnTop, !Iconifiable, FixedPosition, FixedSize, WindowListSkip, CirculateSkip
 
 # Only once.
 AddToFunc InitFunction
@@ -408,6 +409,8 @@
 + I Exec  exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \
                -name mc-main2 -geometry 136x42 -e bash -i -c "mc -x"
 + I Exec  exec goldendict
+# Right offset: 80 from FvwmPager + 2*6 from border = 92.
++ I Exec  exec xclock -digit -update 1 -strftime '%F %T %a' -padding 2 -geometry 165x18-92+0 -face Monospace-9 -bg gray
 
 # After all restart.
 AddToFunc RestartFunction