|
找了一份fvwm2rc范例,其中用FvmwButtons和IconMan结合模拟任务栏的那段如下:
# An FvwmButtons-based Taskbar, it will swallow an FvwmIconMan.
# Note the Menu options to make it appear at a nice and consistant
# offset to the button, cool huh?
DestroyModuleConfig FvwmBar: *
*FvwmBar: Font "Shadow=1 1 SEft:Bitstream Vera Sans Mono:style=Roman:size=8"
*FvwmBar: Colorset 10
*FvwmBar: Frame 1
*FvwmBar: Padding 2 2
*FvwmBar: Rows 23
*FvwmBar: Columns 71
*FvwmBar: (71x3, Padding 0 0, Action(Mouse 1) `Next (CirculateHit, FvwmBar) PipeRead 'echo LockingSlide keep $$(test $$(($[w.y]+$[w.height])) -le $[vp.height] && echo w$$(($[w.height]-$height))p || echo w-$$(($[w.height]-$height))p)'`)
*FvwmBar: (6x20, Title(Side) " Launch", Left, Icon gears.png, Action(Mouse 1) `Menu MenuFvwmRoot Rectangle +$left+$top 0 -100m`)
*FvwmBar: (63x20, Swallow "FvwmIconMan" `FvwmIconMan`)
*FvwmBar: (2x20, Colorset 18, Frame 0)
其中:
*FvwmBar: (71x3, Padding 0 0, Action(Mouse 1) `Next (CirculateHit, FvwmBar) PipeRead 'echo LockingSlide keep $$(test $$(($[w.y]+$[w.height])) -le $[vp.height] && echo w$$(($[w.height]-$height))p || echo w-$$(($[w.height]-$height))p)'`)
这一断是一个与屏幕齐宽的细按钮,有隐藏任务栏的功能!但是我单单把这一断用到我的配置文件里,不起作用!是不是在前面哪个段落中还要加一些什么语句吧? |
|