• 25

[分享]桌面時間模組GeekTool分享, Mac 個性化之相關軟體與桌布分享

原本天氣widget怎麼都試不出來
剛剛把文章從頭到尾再仔細看了一篇,再參考"K1"大大提供的檔案
終於讓我試出來了~ 完成後,覺得桌面有了生命一樣
分享一下囉!

請問一下
我照36樓設定台中溫度(只修改紅字部分與C這個字),為何好像有時差問題?明明是晚上0714了天氣圖卻還顯示大太陽,而更新秒數也從300改為60秒也不行

而月曆也照188樓的輸入語法該有顏色20號區域卻變成年份20那邊有顏色
sony71515 wrote:
請問一下我照36樓設...(恕刪)


This looks like a problem of "The Weather Channel." Yahoo Weather just pulls the data form it, and you can't do a thing when its data is incorrect in the first place. Unless someone fixes this in The Weather Channel, it is what it is now.

As to your calendar problem, try the script below instead. The problem of your calendar script is that it substitutes the first "20" it finds, and in this case, it replaces "20" of "2011."

cal | sed -E '1,$'"s/( |^)($(date +%e))( |$)/\1$(echo '\033[7;30m')\2$(echo '\033[0m')\3/"
想請問一下各位

我使用cal叫出日曆後出現的月份含日期都是數字,有辦法可以改成英文嗎?


willie211313 wrote:
想請問一下各位我使用...(恕刪)

帖內早有說明了, 就是圖中紅圈部份不要打勾.


早前月曆的指令碼有點小問題,
現在已轉用了這組, 暫時沒發現有問題,
貼上來給大家參考一下.


cal_head=`cal | head -1`; cal_tail=`cal | tail -7`; today=`date "+%e"`; echo "$cal_head"; echo "${cal_tail/${today}/[1;32m${today}[0m}";



我發現某些人溫度無法顯示的原因應該是

當你複製貼上整段指令碼時,中間有跳行所造成

試著把視窗拉大,看看哪邊有跳行了,刪除跳行就OK了

kl0000 wrote:
再來是藍芽鍵盤及滑鼠等的電量顯示.


  我的三個都顯示 Disconnected,不曉得要修改哪裡?

kl0000 wrote:
試了一下, 應該是我...(恕刪)


現在才看到你的回文,昨晚已先花了點時間自己改完了,還是謝謝你。GeekTool真是好玩。
  • 25
內文搜尋
X
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 25)
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?