Skip to content

Commit

Permalink
doc: 定时任务
Browse files Browse the repository at this point in the history
  • Loading branch information
snomiao committed Apr 16, 2021
1 parent 181dd03 commit 00c2ea5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
; ========== CapsLockX ==========

global T_ScheduleTasks := CapsLockX_Config("ScheduleTasks", "EnableScheduleTasks", 0, "使用定时任务(默认禁用,改为 1 开启)")
global T_ScheduleTasks_UseTomatoLife := CapsLockX_Config("ScheduleTasks", "UseTomatoLife", 1, "使用番茄报时(需要先开启定时任务)")
global T_ScheduleTasks_UseTomatoLife := CapsLockX_Config("ScheduleTasks", "UseTomatoLife", 1, "使用番茄报时(00分和30分播放工作铃声,每小时的25分和55分播放休息铃声)(需要先开启定时任务)")
global T_ScheduleTasks_UseTomatoLifeSwitchVirtualDesktop := CapsLockX_Config("ScheduleTasks", "UseTomatoLifeSwitchVirtualDesktop", 1, "使用番茄报时时,自动切换桌面(休息桌面为1,工作桌面为2)")

if(T_ScheduleTasks){
Expand Down
15 changes: 15 additions & 0 deletions Modules/插件-定时任务.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 定时任务

使用 CapsLockX + M 打开配置,然后修改 EnableScheduleTasks=1 即可启用本插件。

- 使用番茄报时(00分和30分播放工作铃声,每小时的25分和55分播放休息铃声)(需要先开启定时任务)

```ini
UseTomatoLife=1
```

- 使用番茄报时时,自动切换桌面(使用番茄报时时,自动切换桌面(休息桌面为1,工作桌面为2)

```ini
UseTomatoLifeSwitchVirtualDesktop=1
```

0 comments on commit 00c2ea5

Please sign in to comment.