File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 11![ Logo] ( https://github.com/libobjc/resource/blob/master/SGWindowLayout/SGWindowLayout-logo.png?raw=true )
22
3- # SGWindowLayout for macOS
3+ # SGWindowLayout
44
5- SGWindowLayout 是一款 macOS 平台的窗口布局工具 。
5+ SGWindowLayout 是一款 macOS 窗口布局小应用 。
66
77## 功能特点
88
@@ -12,11 +12,23 @@ SGWindowLayout 是一款 macOS 平台的窗口布局工具。
1212
1313## 使用示例
1414
15+ 默认绑定了如下快捷键
16+
17+ - Control + A -> 铺满屏幕左半部分
18+ - Control + S -> 全屏
19+ - Control + D -> 铺满屏幕左右部分
20+ - Control + W -> 铺满屏幕上半部分
21+ - Control + X -> 铺满屏幕下半部分
22+
23+ 如需更改,可在 AppDelegate 的 registerHotKey 方法中更改。例如:
24+
1525``` obj-c
1626// 使用 control + a 将当前焦点窗口铺满屏幕左半部分。
1727[SGWLHotKey registerLayoutAttribute: SGWLLayoutAttributeLeft keyCode: SGWLKeyCodeA modifiers: SGWLModifiersKeyControl ] ;
1828```
1929
30+ ### 默认加入了
31+
2032## 效果演示
2133
2234
You can’t perform that action at this time.
0 commit comments