私はwmiiが初めてです。Pidgin からの通知を表示できる素敵なステータス バーを備えた構成スクリプトを共有してくれる人はいますか?
1 に答える
1
OK、Pidgin の通知作業を受け取りました。まず、Pidgin サイトから「command-notification」プラグインをダウンロードします。
次に、プラグインを構成して、次のようにシェル スクリプトを実行します。
#!/bin/bash
owins=$(wmiir ls /client | grep -v -e 'sel')
for owin in $owins; do
wincount=$(wmiir read /client/$owin/props | grep -c -e "Pidgin:Pidgin")
if [ $wincount != 0 ]; then
wmiir xwrite /client/$owin/ctl Urgent off
wmiir xwrite /client/$owin/ctl Urgent on
wmiir xwrite /event Notice "You have new message!"
fi
done
于 2011-05-11T10:32:46.407 に答える