mirror of
https://github.com/xzhih/one-key-hidpi.git
synced 2026-04-13 01:13:42 +08:00
add video
This commit is contained in:
@@ -16,6 +16,10 @@ macOS 的 DPI 机制和 Windows 下不一样,比如 1080p 的屏幕在 Windows
|
||||
|
||||

|
||||
|
||||
<video width="100%" controls autoplay loop>
|
||||
<source src="./img/hidpi.mp4" type="video/mp4">
|
||||
</video>
|
||||
|
||||
## 使用方法
|
||||
|
||||
在终端输入以下命令回车即可
|
||||
|
||||
@@ -14,6 +14,10 @@ System Preferences
|
||||
|
||||

|
||||
|
||||
<video width="100%" controls autoplay loop>
|
||||
<source src="./img/hidpi.mp4" type="video/mp4">
|
||||
</video>
|
||||
|
||||
## Usage
|
||||
|
||||
Run this script in Terminal
|
||||
|
||||
@@ -313,7 +313,7 @@ EOF
|
||||
|
||||
read -p "选择你想要的配置: " res
|
||||
case $res in
|
||||
1 ) create_res_1 1680x944 1600x900 1440x810 1280x720 1024x576
|
||||
1 ) create_res_1 1680x944 1440x810 1280x720 1024x576
|
||||
;;
|
||||
2 ) create_res_1 2048x1152 1920x1080 1680x944 1440x810 1280x720
|
||||
create_res_2 1024x576
|
||||
@@ -325,7 +325,7 @@ esac
|
||||
|
||||
create_res_2 1280x800 1280x720 960x600 960x540 640x360
|
||||
create_res_3 840x472 800x450 720x405 640x360 576x324 512x288 420x234 400x225 320x180
|
||||
create_res_4 1680x944 1600x900 1440x810 1280x720 1024x576 960x540 840x472 800x450 640x360
|
||||
create_res_4 1680x944 1440x810 1280x720 1024x576 960x540 840x472 800x450 640x360
|
||||
|
||||
cat >> "$dpiFile" <<-\FFF
|
||||
</array>
|
||||
|
||||
4
hidpi.sh
4
hidpi.sh
@@ -313,7 +313,7 @@ EOF
|
||||
|
||||
read -p "Enter your choice: " res
|
||||
case $res in
|
||||
1 ) create_res_1 1680x944 1600x900 1440x810 1280x720 1024x576
|
||||
1 ) create_res_1 1680x944 1440x810 1280x720 1024x576
|
||||
;;
|
||||
2 ) create_res_1 2048x1152 1920x1080 1680x944 1440x810 1280x720
|
||||
create_res_2 1024x576
|
||||
@@ -325,7 +325,7 @@ esac
|
||||
|
||||
create_res_2 1280x800 1280x720 960x600 960x540 640x360
|
||||
create_res_3 840x472 800x450 720x405 640x360 576x324 512x288 420x234 400x225 320x180
|
||||
create_res_4 1680x944 1600x900 1440x810 1280x720 1024x576 960x540 840x472 800x450 640x360
|
||||
create_res_4 1680x944 1440x810 1280x720 1024x576 960x540 840x472 800x450 640x360
|
||||
|
||||
cat >> "$dpiFile" <<-\FFF
|
||||
</array>
|
||||
|
||||
BIN
img/hidpi.mp4
Normal file
BIN
img/hidpi.mp4
Normal file
Binary file not shown.
Reference in New Issue
Block a user