• <td id="ae6ms"><li id="ae6ms"></li></td>
  • <xmp id="ae6ms"><td id="ae6ms"></td><table id="ae6ms"></table>
  • <table id="ae6ms"></table>
  • <td id="ae6ms"></td>
    <td id="ae6ms"></td>
  • <table id="ae6ms"></table><table id="ae6ms"><td id="ae6ms"></td></table>
  • <td id="ae6ms"></td>
  • <table id="ae6ms"><li id="ae6ms"></li></table>
  • <table id="ae6ms"></table>
    西西軟件園多重安全檢測下載網站、值得信賴的軟件下載站!
    西西首頁常用軟件軟件下載安卓軟件游戲下載安卓游戲MAC應用驅動下載安卓電視
    系統工具網絡工具媒體工具圖形圖像社交軟件殺毒軟件辦公軟件驅動軟件學習教育閱讀工具其他軟件
    當前位置:首頁MAC軟件Mac系統軟件 → Mac Menubar自定義工具(TextBar) v1.3.3 官方最新版

    Mac Menubar自定義工具(TextBar)

    Mac Menubar自定義工具(TextBar)
    • 更新:2015-05-15 15:21
    • 大?。?span class="m-softsize">2.7M
    • 版本:v1.3.3 官方最新版
    • 語言:中文
    • 類型:Mac系統軟件
    • 平臺:Mac
    本類排行
    • 應用介紹
    • 應用截圖
    • 下載地址
    • 網友評論

    TextBar for mac是一款功能強大的Menubar欄自定義工具,這款軟件非常適合有腳本編寫經驗的人使用,用戶可以在后臺程序中隨意添加腳本數量顯示所需的內容,滿足用戶對程序設計的個性化需求。

    功能介紹:

    TextBar 是由獨立程序員 Rich Somerfield 開發的,你可以在后臺設置里添加任意數量的腳本程序來顯示你想要的信息,每一條叫做 Recipes,噢,讓我想起了 IFTTT,我猜作者也想把這款軟件打造成 Flashlight 那樣的開源插件平臺吧

    作者在 Github 開了一個 TextBar Recipes 的專頁,你可以到里面參考安裝一些 Recipes 學習學習,比如下面這張圖:

    在設置窗口內你可以為 Recipes 選擇個性化的 ICON,這些 ICON 全部從 ICONS8 下載,接著就是 Script,直接輸入即可,然后是調整信息更新頻率,以秒為單位,隨意設置吧,TextBar 還支持讓你的信息通過 OS X Ntofication Center 進行消息推送,這對于安裝在 Menubar 的天氣、系統監控類 Recipes 非常有幫助。

    實用的Recipes:

    1. 顯示本地 IP 地址:

    ifconfig | grep inet | grep -v inet6 | cut -d" " -f2 | tail -n1

    2. 顯示外網 IP 地址:

    curl http://ipinfo.io/ip

    3. 顯示硬盤占用率:

    df / | awk '{ print $5 }' | tail -n 1

    4. 顯示某個國家時間:

    UKDATE=`TZ=GB date +"%H:%M %p"` ; echo "UK: $UKDATE"

    5. 顯示 Emoji:

    echo '🌚'

    友情提示:組合鍵:CONTROL+CMD+SPACE 快速調用 Emoji 選擇菜單

    6. 顯示電池容量:

    ioreg -n AppleSmartBattery -r | awk '$1~/Capacity/{c[$1]=$3} END{OFMT="%.2f%%"; max=c["\"MaxCapacity\""]; print (max>0? 100*c["\"CurrentCapacity\""]/max: "?")}'

    7. 顯示 CPU 狀態:

    $HOME/scripts/CPUSpeed.sh

    需要 CPUSpeed.sh 配合,點擊鏈接下載

    8. 顯示 iTunes 正在播放哪首歌曲:

    osascript -e 'if application "iTunes" is running then' -e 'tell application "iTunes"' -e 'if player state = playing then' -e '(get name of current track) & " – " & (get artist of current track)' -e 'else' -e 'return ""' -e 'end if' -e 'end tell' -e 'else' -e 'return ""' -e 'end if'

    此腳本需要你的 iTunes 處于歌曲播放狀態

    9. 顯示天氣:

    curl -s 'http://api.openweathermap.org/data/2.5/weather?q=Manchester,UK&units=metric' | python -c 'import sys, json; data=json.load(sys.stdin); print("{} : {:.1f}°C".format(data["weather"][0]["main"], data["main"]["temp"]))'

    將你所在的城市信息替代腳本里的“Manchester,UK”即可

    10. 顯示 Outlook 里未讀郵件數量:

    osascript $HOME/scripts/CheckOutlookMail.scpt

    需要獨立的 CheckOutlookMail.scpt 幫忙,放入 ~/script/ 即可

    11. 顯示系統文本剪切板:

    pbpaste | sed 's/^[[:space:]]*//;s/[[:space:]]$//' | sed -E 's/^(.{10}).+$/\1.../'

    這個腳本只能顯示文本的前10個字符,后面的用省略號替代。。

    12. 顯示剪切板文本字符數量:

    pbpaste | wc -c

    13. 顯示藍牙鍵盤/鼠標剩余電量:

    echo "M: "ioreg -c BNBMouseDevice | grep '"BatteryPercent" =' | sed 's/[^0-9]*//g'"%" echo "B:" ioreg -c AppleBluetoothHIDKeyboard | grep '"BatteryPercent" =' | sed 's/[^0-9]*//g'"%"

    14. 顯示 Finder 里已選文件的名稱:

    osascript $HOME/scripts/SelectedFinderFile.scpt

    需要獨立的 SelectedFinderFile.scpt 幫忙,把這個 scpt 放入 ~/scripts 目錄即可

    15. 直接在 Menubar 顯示圖片?

    echo '<html><img src="http://www......."/></html>'

    這個腳本對圖片要求太高,長寬不得超過 14px,要折騰請謹慎!

    更多的個性化設置辦法

    TextBar 竟然還能做字體更換,OMG!,

    來看辦法:

    defaults write com.RichSomerfield.TextBar DefaultFontName -string "HelveticaNeue-UltraLight"

    腳本執行后需重啟軟件

    設置字體大?。?/p>

    defaults write com.RichSomerfield.TextBar textBarPreferences.DefaultFontSize -int 10

    腳本執行后需重啟軟件

    設置 TextBar 在 Mebubar 上顯示 Recipes 限制數量:

    defaults write com.RichSomerfield.TextBar DefaultMaxWidth -int 100

    腳本執行后需重啟軟件,這個腳本需要你的 OS X 系統是 Yosemite,TextBar 版本要在 v1.4.47 及以上,腳本里最后的“100”是自選值,填寫任意數字代表 Recipes 顯示數量,填寫“0”代表不限制,當然,如果 Recipes 太多,你需要 Bartender 來幫忙了。

    下載地址

    下載地址

    發表評論

    昵稱:
    表情: 高興 可 汗 我不要 害羞 好 下下下 送花 屎 親親
    女人让男人桶30分钟免费视频,女人张开腿让男人桶个爽,一进一出又大又粗爽视频
  • <td id="ae6ms"><li id="ae6ms"></li></td>
  • <xmp id="ae6ms"><td id="ae6ms"></td><table id="ae6ms"></table>
  • <table id="ae6ms"></table>
  • <td id="ae6ms"></td>
    <td id="ae6ms"></td>
  • <table id="ae6ms"></table><table id="ae6ms"><td id="ae6ms"></td></table>
  • <td id="ae6ms"></td>
  • <table id="ae6ms"><li id="ae6ms"></li></table>
  • <table id="ae6ms"></table>