原子显示切换:解决
Atomic Display Switching: Solving

原始链接: https://github.com/piot5/displayflow_cli

快速切换和保存Windows显示布局,通过CLI实现。 从Releases下载displayflow.exe。将其放置在您的PATH路径中。 displayflow.exe [MonitorConfigs] [Command] [Flags] 格式:ID:Width:Height:X:Y:Primary:Rotation:Frequenz (不带参数运行或双击.exe以查看您的ID) 垂直堆叠(显示器2在显示器1上方) displayflow.exe "1:1920:1080:0:0:1:0:60 2:1920:1080:0:-1080:0:0:60" --save 堆叠游戏(禁用显示器2并启动Steam) displayflow.exe "1:2560:1440:0:0:1:0:120 2:0:0:0:0:0:0:0" --save Gaming --post "C:\Path\To\Steam.exe" --hotkey 编码设置(纵向模式) # 显示器1:超宽屏横向 # 显示器2:1080p纵向(旋转90°) displayflow.exe "1:3440:1440:0:0:1:0:144 2:1080:1920:3440:0:0:90:144" --save Dev

Hacker News 新闻 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 原子显示切换:解决 (github.com/piot5) 8 分,作者 pyotq 1 天前 | 隐藏 | 过去 | 收藏 | 1 条评论 帮助 pyotq 1 天前 | 下一个 [–] 我构建这个的原因是廉价电视附带的愚蠢的通用显示驱动程序。即使在 Linux xrandr 下,我不得不使用变通方法才能获得一致的结果。 然后我最近切换到 win 11,并想最终修复它,所以我首先在 PS1 中使用多显示器工具 nirsoft 完成了。后来切换到 python,最终选择了 rust。现在我们有了最稳定的工具来解决这个问题。回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

Download Latest Release

Quickly switch and save Windows display layouts via CLI

  1. Download displayflow.exe from Releases.
  2. Put it somewhere in your PATH.

displayflow.exe [MonitorConfigs] [Command] [Flags]

Format: ID:Width:Height:X:Y:Primary:Rotation:Frequenz (Run without params or doubleclick .exe to see your IDs)

Vertical Stack (Monitor 2 above 1)

displayflow.exe "1:1920:1080:0:0:1:0:60 2:1920:1080:0:-1080:0:0:60" --save Stacked

Gaming (Disable Monitor 2 & launch Steam)

displayflow.exe "1:2560:1440:0:0:1:0:120 2:0:0:0:0:0:0:0" --save Gaming --post "C:\Path\To\Steam.exe" --hotkey

Coding Setup (Portrait Mode)

# Monitor 1: Ultrawide Landscape
# Monitor 2: 1080p Portrait (Rotated 90°)
displayflow.exe "1:3440:1440:0:0:1:0:144 2:1080:1920:3440:0:0:90:144" --save Dev
联系我们 contact @ memedata.com