summarylogtreecommitdiffstats
path: root/openfly-linux.patch
blob: fbb66a621dd72f15126fb6d5facf7e31316385b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
diff --git a/lua/openfly_shortcut_processor.lua b/lua/openfly_shortcut_processor.lua
index 7975b43..a49cb40 100644
--- a/lua/openfly_shortcut_processor.lua
+++ b/lua/openfly_shortcut_processor.lua
@@ -26,6 +26,8 @@ local command = {
     ["ogj"] = {'open "' .. user_path .. '"'},
     ["ojs"] = {'open -a Calculator.app'},
     ["owd"] = {'open -a "Microsoft Word.app"'},
+  },
+  ["Linux"] = {
   }
 }
 local option = {
diff --git a/lua/openfly_shortcut_translator.lua b/lua/openfly_shortcut_translator.lua
index 3b6fc37..62d00a9 100644
--- a/lua/openfly_shortcut_translator.lua
+++ b/lua/openfly_shortcut_translator.lua
@@ -23,6 +23,10 @@ local labels = {
     ["ojf"] = {"[简繁切换]"},
     ["ojs"] = {"[计算器]"},
     ["owd"] = {"[Word]"},
+  },
+  ["Linux"] = {
+    ["oei"] = {"[启用二重简码]", "[关闭]"},
+    ["ojf"] = {"[简繁切换]"},
   }
 }
 
diff --git a/openfly.user.top.dict.yaml b/openfly.user.top.dict.yaml
index 8677772..88a75ea 100644
--- a/openfly.user.top.dict.yaml
+++ b/openfly.user.top.dict.yaml
@@ -9,4 +9,4 @@ version: "v9.9m"
 sort: by_weight
 use_preset_vocabulary: false
 ...
-微博  wb
+微博	wb