Skip to content

QLOCKTWO in Conky

请允许我火星一下,这已经是半年多以前的东西。

前两天在crunchbang的论坛里闲逛,发现了有人的conky显示时间的部分是qlocktwo。好奇地google了一下,发现了就是上面图里的东西,太有feel了。此图质量不好,点击官网看各种色调高清无码图。

想买的童鞋可能要失望了,由于是艺术家的概念产品,这玩意价值$1500,所以,还是等着我朝山寨吧。或者参考这篇文章自己做一个。有水果iphone的童鞋可以去安装这个app。至于我等穷人,没钱,没工具,只好用conky来实现。

--下面开始说正题,内容来自crunchbang论坛,详情请传送至那里查看--

先仍张我的效果图馋馋你们:

qlocktwo in conky (transparent)


own_window yes
use_xft yes
xftfont freemono:size=20
xftalpha .1
update_interval 15.0
uppercase yes
double_buffer yes
default_color ffffff
color1 222222
TEXT
${color}I T ${color1}L ${color}I S ${color1}A S T I M E
${if_match ${exec date +"%M"} < 35}${if_match ${exec date +"%M"} >= 15}${if_match ${exec date +"%M"} < 20}${color}${endif}${endif}A ${color1}C ${if_match ${exec date +"%M"} >= 15}${if_match ${exec date +"%M"} < 20}${color}${endif}${endif}Q U A R T E R ${color1}D C ${if_match ${exec date +"%M"} >= 20}${if_match ${exec date +"%M"} < 30}${color}${endif}${endif}T W E N T Y ${if_match ${exec date +"%M"} >= 25}${if_match ${exec date +"%M"} < 30}${color}${endif}${else}${color1}${endif}${if_match ${exec date +"%M"} >= 5}${if_match ${exec date +"%M"} < 10}${color}${endif}${endif}F I V E ${color1}X ${if_match ${exec date +"%M"} >= 30}${if_match ${exec date +"%M"} < 35}${color}${endif}${endif}H A L F ${color1}B ${if_match ${exec date +"%M"} >= 10}${if_match ${exec date +"%M"} < 15}${color}${endif}${endif}T E N ${color1}F T O ${else}${if_match ${exec date +"%M"} >= 45}${if_match ${exec date +"%M"} < 50}${color}${endif}${endif}A ${color1}C ${if_match ${exec date +"%M"} >= 45}${if_match ${exec date +"%M"} < 50}${color}${endif}${endif}Q U A R T E R ${color1}D C ${if_match ${exec date +"%M"} >= 35}${if_match ${exec date +"%M"} < 45}${color}${endif}${endif}T W E N T Y ${if_match ${exec date +"%M"} < 40}${if_match ${exec date +"%M"} >= 35}${color}${endif}${else}${color1}${endif}${if_match ${exec date +"%M"} >= 55}${color}${endif}F I V E ${color1}X
H A L F B ${if_match ${exec date +"%M"} >= 50}${if_match ${exec date +"%M"} < 55}${color}${endif}${endif}T E N ${color1}F ${color}T O${color1}
${endif}${if_match ${exec date +"%M"} < 35}${if_match ${exec date +"%M"} >= 5}${color}${endif}${endif}P A S T ${color1}E R U ${if_match ${exec date +"%M"} < 35}${if_match ${exec date +"%I"} == 9}${color}${else}${color1}${endif}N I N E
${if_match ${exec date +"%I"} == 1}${color}${else}${color1}${endif}O N E ${if_match ${exec date +"%I"} == 6}${color}${else}${color1}${endif}S I X ${if_match ${exec date +"%I"} == 3}${color}${else}${color1}${endif}T H R E E
${if_match ${exec date +"%I"} == 4}${color}${else}${color1}${endif}F O U R ${if_match ${exec date +"%I"} == 5}${color}${else}${color1}${endif}F I V E ${if_match ${exec date +"%I"} == 2}${color}${else}${color1}${endif}T W O
${if_match ${exec date +"%I"} == 8}${color}${else}${color1}${endif}E I G H T ${if_match ${exec date +"%I"} == 11}${color}${else}${color1}${endif}E L E V E N
${if_match ${exec date +"%I"} == 7}${color}${else}${color1}${endif}S E V E N ${if_match ${exec date +"%I"} == 12}${color}${else}${color1}${endif}T W E L V E
${if_match ${exec date +"%I"} == 10}${color}${else}${color1}${endif}T E N ${else}${if_match ${exec date +"%I"} == 8}${color}${else}${color1}${endif}N I N E
${if_match ${exec date +"%I"} == 12}${color}${else}${color1}${endif}O N E ${if_match ${exec date +"%I"} == 5}${color}${else}${color1}${endif}S I X ${if_match ${exec date +"%I"} == 2}${color}${else}${color1}${endif}T H R E E
${if_match ${exec date +"%I"} == 3}${color}${else}${color1}${endif}F O U R ${if_match ${exec date +"%I"} == 4}${color}${else}${color1}${endif}F I V E ${if_match ${exec date +"%I"} == 1}${color}${else}${color1}${endif}T W O
${if_match ${exec date +"%I"} == 7}${color}${else}${color1}${endif}E I G H T${if_match ${exec date +"%I"} == 10}${color}${else}${color1}${endif} E L E V E N
${if_match ${exec date +"%I"} == 6}${color}${else}${color1}${endif}S E V E N${if_match ${exec date +"%I"} == 11}${color}${else}${color1}${endif} T W E L V E
${if_match ${exec date +"%I"} == 9}${color}${else}${color1}${endif}T E N ${endif}${color1}S E ${if_match ${exec date +"%M"} < 5}${color}${endif}O C L O C K

原帖中还有人将其变成了wallpaper,加入calendar,加入am/pm等等,有兴趣的可以去搞搞。

EOF

2 Comments

  1. 很荣幸地回复了。

    [回复]

    ggarlic CHINA Google Chrome Linux 回复:

    @太极美术工程师师长, :dinning:

    [回复]

    星期二, 四月 6, 2010 at 6:41 下午 | Permalink
  2. ys_sunshine CHINA Google Chrome Windows wrote:

    围观,博主好帅~~~

    [回复]

    ggarlic CHINA Google Chrome Linux 回复:

    @ys_sunshine, 森叔 :laugh: 好帅

    [回复]

    星期日, 四月 11, 2010 at 11:09 上午 | Permalink

One Trackback/Pingback

  1. Tweets that mention QLOCKTWO in Conky -- Topsy.com UNITED STATES on 星期三, 四月 7, 2010 at 5:23 下午

    [...] This post was mentioned on Twitter by ggarlic. ggarlic said: ggarlic新喷了篇文章:: QLOCKTWO in Conky http://ggarlic.org/blog/2010/04/qlocktwo-in-conky/ [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*

:tired: :sweat: :surprised: :stick_tongue: :slobber: :sickup: :sick: :shy: :scared: :sad: :perving: :orz: :laugh: :happy: :faint: :embarrassed: :dinning: :cunning: :cry: :cool: :cherubic: :bookworm: :angry:

You can add images to your comment by clicking here.