| View previous topic :: View next topic |
| Author |
Message |
czy32 n00b

Joined: 29 May 2005 Posts: 15
|
Posted: Sun May 29, 2005 12:22 pm Post subject: 请问一个 taviso的 fvwm2rc问题 |
|
|
里面有一句
*FvwmShelf: (17x3, Colorset 18, Frame 0, Swallow FvwmApplet-DigitalClock `FvwmScript FvwmApplet-DigitalClock 18`)
是显示 时间和日期 用的
但是 在我的机子上显示 不出来 是 怎么回事 (空白的 什么都不显示)
谢谢 |
|
| Back to top |
|
 |
mar_ning_2000 n00b


Joined: 30 Sep 2004 Posts: 24 Location: Victoria BC, Canada
|
Posted: Sun May 29, 2005 3:06 pm Post subject: |
|
|
好像需要"FvwmApplet-DigitalClock"但偶也不知道在哪里...
想用时钟的话可以用xClock. |
|
| Back to top |
|
 |
czy32 n00b

Joined: 29 May 2005 Posts: 15
|
Posted: Sun May 29, 2005 3:19 pm Post subject: |
|
|
那个 在又下角 比较自观阿
这个皮肤的老大 就在这个论坛吧?
谁英文好的 帮我问问 我英文太差了 呵呵
谢了 |
|
| Back to top |
|
 |
mar_ning_2000 n00b


Joined: 30 Sep 2004 Posts: 24 Location: Victoria BC, Canada
|
Posted: Sun May 29, 2005 3:26 pm Post subject: |
|
|
xClock也是可以被Swallow的!
偶地xClock:
*MyButtons: (110x1, Swallow "xclock", 'Exec exec xclock -digital -update 1 -twelve -padding 1 -norender -bg "#b0ac9c" -font "-*-*-*-*-*-*-8-*-*-*-*-*-*-*" -strftime "%m/%d/%Y %I:%M:%S%p"', Colorset 3001) _________________ Between Heaven And Hell, I Am The Weaver Of My Dreams! |
|
| Back to top |
|
 |
czy32 n00b

Joined: 29 May 2005 Posts: 15
|
Posted: Sun May 29, 2005 11:39 pm Post subject: |
|
|
恩 谢谢阿 可以了
不过还有点小问题
就是 能不能把背景弄成透明的阿 我然像膏药一样贴在那里 呵呵
还有 能不能 居中??
他在长方体的 上方 我想弄到中间来 |
|
| Back to top |
|
 |
mar_ning_2000 n00b


Joined: 30 Sep 2004 Posts: 24 Location: Victoria BC, Canada
|
Posted: Mon May 30, 2005 1:48 am Post subject: |
|
|
看看这个吧。 _________________ Between Heaven And Hell, I Am The Weaver Of My Dreams! |
|
| Back to top |
|
 |
czy32 n00b

Joined: 29 May 2005 Posts: 15
|
Posted: Mon May 30, 2005 3:53 am Post subject: |
|
|
.......哦 e文的阿
大小 都弄好了 就不知道透明 怎么弄 。。。。 |
|
| Back to top |
|
 |
mar_ning_2000 n00b


Joined: 30 Sep 2004 Posts: 24 Location: Victoria BC, Canada
|
Posted: Mon May 30, 2005 4:47 am Post subject: |
|
|
FVWM的Menu是具有“真透明”的支援的(只有Menu可以,其它都不行!):
Colorset 7 fg Black, Translucent White 75, hi Black, sh Black
除了Menu之外的其它东东只能用“假透明”:
Colorset 7 RootTransparent, fg Black, bg average, sh Black, hi #202070, Tint White 60, bgTint White 60
注意:在Swallow其它程序的时候,不单Fvwm本身的Colorset要设为透明,被Swallow的那个程序本身也要设为透明。比如URXVT就有“-tr”的选项。 _________________ Between Heaven And Hell, I Am The Weaver Of My Dreams! |
|
| Back to top |
|
 |
czy32 n00b

Joined: 29 May 2005 Posts: 15
|
Posted: Mon May 30, 2005 4:50 am Post subject: |
|
|
嘿嘿 可以了
我把颜色弄一样了 谢谢阿 |
|
| Back to top |
|
 |
mar_ning_2000 n00b


Joined: 30 Sep 2004 Posts: 24 Location: Victoria BC, Canada
|
Posted: Mon May 30, 2005 4:58 am Post subject: |
|
|
那Wallpaper咋办? _________________ Between Heaven And Hell, I Am The Weaver Of My Dreams! |
|
| Back to top |
|
 |
czy32 n00b

Joined: 29 May 2005 Posts: 15
|
Posted: Mon May 30, 2005 5:03 am Post subject: |
|
|
怎么发图的阿? 本来想发图着不到 地方 晕
颜色就是和背景 差不多的颜色的
我的背景 不是很花俏的 呵呵 |
|
| Back to top |
|
 |
Twig n00b

Joined: 06 Aug 2005 Posts: 8
|
Posted: Sat Aug 06, 2005 11:15 am Post subject: FvwmApplet-DigitalClock是一个fvwm脚本,这是源代码 |
|
|
不记得是不是在taviso主页找到的,记性差……
| Code: |
WindowTitle {FvwmApplet-DigitalClock}
WindowSize 60 14 # Taille
#Font -*-lucida-bold-r-normal-*-10-*-*-*-*-*-*
Font -artwiz-snap-medium-r-normal-*-10-100-75-75-p-90-iso646.1991-irv
#Font "xft:helvetica:style=Bold:size=13"
# Use the FvwmScript default colors.
#BackColor {rgb:a0/90/80}
#ForeColor {black}
#ShadowColor {black}
#HilightColor {rgb:a0/90/80}
Init
Begin
Set $MainColorset=(GetScriptArgument 1)
If $MainColorset <> {} Then
Begin
ChangeColorset 0 $MainColorset
ChangeColorset 1 $MainColorset
End
# Set $tmp = (GetOutput {exec date} $pos 4)
# Set $tmp = (StrCopy $tmp 1 5)
Set $tmp = (GetOutput {exec date} $pos 4)
Set $tmp = (StrCopy $tmp 1 5)
ChangeTitle 1 $tmp
End
PeriodicTasks
Begin
If (RemainderOfDiv (GetTime) #30)==0 Then
Begin
# Set $tmp = (GetOutput {exec date} $pos 4)
# Set $tmp = (StrCopy $tmp 1 5)
Set $tmp = (GetOutput {exec date} $pos 4)
Set $tmp = (StrCopy $tmp 1 5)
ChangeTitle 1 $tmp
End
End
Widget 1
Property
Position 0 0
Size 60 14
Type ItemDraw
Flags NoReliefString
Title {}
Main
Case message of
SingleClic :
Begin
End
End
|
|
|
| Back to top |
|
 |
|