版本v0.1.1 ----1、新增显示输入法状态的功能;2、新增时间同步功能;3、新增翻译功能;4、新增咖啡因功能;5、新增屏幕取色功能;6、新增菜单栏管理

This commit is contained in:
sugood
2020-10-24 23:17:20 +08:00
parent 7352b399f4
commit a75843b3a2
27 changed files with 3006 additions and 13 deletions
+15
View File
@@ -0,0 +1,15 @@
#timesyne.sh
#expect的安装路径
#/usr/local/bin/expect这个路径安装完expect之后 which expect可以查看
#!/usr/local/bin/expect
set timeout 10
set passwd [lindex $argv 0]
spawn sudo sntp -sS ntp.aliyun.com
#根据输出传递数据,在这里是等待密码提示显示
expect "*assword*"
send "$passwd\n"
#interact
expect eof
exit