wayland ibus-daemon autostart
this script input your .zshrc
terminal shell running
===========================================================
check=`ps -ef | grep 'ibus-daemon -drx' | wc | awk '{print$1}'`
ServiceName="ibus-daemon -drx"
if [ $check -gt 1 ]
then
Status="RUNNING"
PID=`ps -eo user,pid,command | grep "ibus-daemon -drx" | grep -v grep | awk '{print $2}'`
printf "${GRE} $ServerName $ServiceName $Status $PID${NC}\n"
else
Status="NOT RUNNING"
PID=""
printf "$RED $ServerName $ServiceName $Status $PID${NC}\n"
ibus-daemon -drx
fi
===========================================================
댓글 없음:
댓글 쓰기